summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Sidwell <andy@entai.co.uk>2008-07-15 20:01:03 +0000
committerAndrew Sidwell <andy@entai.co.uk>2008-07-15 20:01:03 +0000
commit2f7a0e956c151c900789a02d8f850bfe79b54071 (patch)
treeee68d7d39c7fb327c21aa67a681cafec2201fa5f
parent97d3c08c31f364123ced1db44ec13ff0e26a81a9 (diff)
downloadlibhubbub-2f7a0e956c151c900789a02d8f850bfe79b54071.tar.gz
libhubbub-2f7a0e956c151c900789a02d8f850bfe79b54071.tar.bz2
Fix memory leak in tokeniser2.
svn path=/trunk/hubbub/; revision=4675
-rw-r--r--test/tokeniser2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/tokeniser2.c b/test/tokeniser2.c
index ac6d89c..14ac71d 100644
--- a/test/tokeniser2.c
+++ b/test/tokeniser2.c
@@ -108,6 +108,8 @@ int main(int argc, char **argv)
run_test(&ctx);
}
+ json_object_put(json);
+
assert(hubbub_finalise(myrealloc, NULL) == HUBBUB_OK);
printf("PASS\n");