Memory leak.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4178 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
507a62539d
commit
980db880cc
@ -502,6 +502,7 @@ static void _tf_ssb_sqlAsync_after_work(uv_work_t* work, int status)
|
|||||||
|
|
||||||
JSValue response = JS_Call(context, sql_work->callback, JS_UNDEFINED, 1, &row);
|
JSValue response = JS_Call(context, sql_work->callback, JS_UNDEFINED, 1, &row);
|
||||||
tf_util_report_error(context, response);
|
tf_util_report_error(context, response);
|
||||||
|
JS_FreeValue(context, response);
|
||||||
JS_FreeValue(context, row);
|
JS_FreeValue(context, row);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user