From 4ce988d00b928f5ba3469e13298923668521548f Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sun, 19 Feb 2023 02:01:59 +0000 Subject: [PATCH] Memory leak in maskBytes. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4189 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- src/util.js.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util.js.c b/src/util.js.c index cd423159..f9e3ee79 100644 --- a/src/util.js.c +++ b/src/util.js.c @@ -365,6 +365,7 @@ static JSValue _util_mask_bytes(JSContext* context, JSValueConst this_val, int a tf_free(copy); } } + JS_FreeValue(context, buffer); return result; }