Aha, one more leak in sqlAsync.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4191 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
f55f863867
commit
a6a6fe75ec
@ -602,6 +602,7 @@ static JSValue _tf_ssb_sqlAsync(JSContext* context, JSValueConst this_val, int a
|
|||||||
_tf_ssb_sql_append(&work->binds, &work->binds_count, string, length);
|
_tf_ssb_sql_append(&work->binds, &work->binds_count, string, length);
|
||||||
JS_FreeCString(context, string);
|
JS_FreeCString(context, string);
|
||||||
}
|
}
|
||||||
|
JS_FreeValue(context, value);
|
||||||
}
|
}
|
||||||
int r = uv_queue_work(tf_ssb_get_loop(ssb), &work->request, _tf_ssb_sqlAsync_work, _tf_ssb_sqlAsync_after_work);
|
int r = uv_queue_work(tf_ssb_get_loop(ssb), &work->request, _tf_ssb_sqlAsync_work, _tf_ssb_sqlAsync_after_work);
|
||||||
if (r)
|
if (r)
|
||||||
|
Loading…
Reference in New Issue
Block a user