Code

src/oping.c: Use `context_destroy' to free the context.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 12 Mar 2009 07:37:10 +0000 (08:37 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 12 Mar 2009 07:37:10 +0000 (08:37 +0100)
src/oping.c

index 1c1df5426ff52ac793716dd696489b054027d84f..4100caf219cd0e39be9c07eb861d6fa54fad1699 100644 (file)
@@ -455,7 +455,7 @@ int main (int argc, char **argv)
                }
 
                ping_iterator_set_context (iter, NULL);
-               free (context);
+               context_destroy (context);
        }
 
        ping_destroy (ping);