From a6a6fe75ec9e5bcda4fdceb408a81f39b3afe9bf Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sun, 19 Feb 2023 13:51:06 +0000 Subject: [PATCH] Aha, one more leak in sqlAsync. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4191 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- src/ssb.js.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ssb.js.c b/src/ssb.js.c index 33325b73..59b1c195 100644 --- a/src/ssb.js.c +++ b/src/ssb.js.c @@ -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); 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); if (r)