diff options
author | Andrew Sidwell <andy@entai.co.uk> | 2008-07-15 20:01:03 +0000 |
---|---|---|
committer | Andrew Sidwell <andy@entai.co.uk> | 2008-07-15 20:01:03 +0000 |
commit | 2f7a0e956c151c900789a02d8f850bfe79b54071 (patch) | |
tree | ee68d7d39c7fb327c21aa67a681cafec2201fa5f | |
parent | 97d3c08c31f364123ced1db44ec13ff0e26a81a9 (diff) | |
download | libhubbub-2f7a0e956c151c900789a02d8f850bfe79b54071.tar.gz libhubbub-2f7a0e956c151c900789a02d8f850bfe79b54071.tar.bz2 |
Fix memory leak in tokeniser2.
svn path=/trunk/hubbub/; revision=4675
-rw-r--r-- | test/tokeniser2.c | 2 |
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"); |