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; }