From 980db880cc6fca5be3c9df4c53ee73e241783fa5 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Wed, 15 Feb 2023 02:56:01 +0000 Subject: [PATCH] Memory leak. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4178 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 68321065..39975d90 100644 --- a/src/ssb.js.c +++ b/src/ssb.js.c @@ -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); tf_util_report_error(context, response); + JS_FreeValue(context, response); JS_FreeValue(context, row); } else