From 7cb1f52886a7d4745a748bed310bc79932bef536 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 12 Mar 2009 08:37:10 +0100 Subject: [PATCH] src/oping.c: Use `context_destroy' to free the context. --- src/oping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.0