Bugzilla – Attachment #868100: Patch fixing the bug for bug #1212928
YA_FREE(&(handle->alloc), internal_err_str);
}
yajl_free (handle);
/*
* If the requested memory is not released in time, it will cause
* memory leakage
*/
if(ctx.root)
yajl_tree_free(ctx.root);
return NULL;