From: Florian Forster Date: Thu, 12 Mar 2009 07:37:10 +0000 (+0100) Subject: src/oping.c: Use `context_destroy' to free the context. X-Git-Tag: liboping-1.1.0~12 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7cb1f52886a7d4745a748bed310bc79932bef536;p=liboping.git src/oping.c: Use `context_destroy' to free the context. --- diff --git a/src/oping.c b/src/oping.c index 1c1df54..4100caf 100644 --- a/src/oping.c +++ b/src/oping.c @@ -455,7 +455,7 @@ int main (int argc, char **argv) } ping_iterator_set_context (iter, NULL); - free (context); + context_destroy (context); } ping_destroy (ping);