From 44d3d2e08089fc1754345615ad68f2c641672ad1 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 11 May 2008 22:55:15 +0000 Subject: [PATCH] plug a small memory leak in the last patch --- libtransmission/json.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libtransmission/json.c b/libtransmission/json.c index ca79e324a..007c43e20 100644 --- a/libtransmission/json.c +++ b/libtransmission/json.c @@ -141,6 +141,7 @@ tr_jsonParse( const void * vbuf, if( setme_end ) *setme_end = (const uint8_t*) buf; + delete_JSON_checker( checker ); tr_ptrArrayFree( data.stack, NULL ); return err; }