From: Alexander Klauer Date: Wed, 19 Dec 2012 09:46:35 +0000 (+0100) Subject: Fixed memory leak in testReplaceExisting X-Git-Tag: json-c-0.11-20130402~28^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=827a4a97b9ddf6a04ad5a3d7a3c9350edcd00df0;p=thirdparty%2Fjson-c.git Fixed memory leak in testReplaceExisting --- diff --git a/tests/testReplaceExisting.c b/tests/testReplaceExisting.c index 69a71452..8cc69244 100644 --- a/tests/testReplaceExisting.c +++ b/tests/testReplaceExisting.c @@ -72,5 +72,7 @@ int main(int argc, char **argv) retval = 1; } + json_object_put( my_object ); + return 0; }