Fixed memory leak in testReplaceExisting
authorAlexander Klauer <Alexander.Klauer@itwm.fraunhofer.de>
Wed, 19 Dec 2012 09:46:35 +0000 (10:46 +0100)
committerAlexander Klauer <Alexander.Klauer@itwm.fraunhofer.de>
Wed, 19 Dec 2012 09:46:35 +0000 (10:46 +0100)
tests/testReplaceExisting.c

index 69a7145..8cc6924 100644 (file)
@@ -72,5 +72,7 @@ int main(int argc, char **argv)
                retval = 1;
        }
 
+       json_object_put( my_object );
+
        return 0;
 }