From b114aab9522aa0e12ff5cfcc63a762e2fe186d82 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Fri, 20 Jan 2023 16:54:03 +0100 Subject: [PATCH] [ecmascript] leaks --- src/ecmascript/ecmascript.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ecmascript/ecmascript.cpp b/src/ecmascript/ecmascript.cpp index e32d91444..7f8284184 100644 --- a/src/ecmascript/ecmascript.cpp +++ b/src/ecmascript/ecmascript.cpp @@ -808,7 +808,9 @@ static void done_ecmascript_module(struct module *module) { free_string_list(&allowed_urls); + free_string_list(&disallowed_urls); mem_free_if(console_log_filename); + mem_free_if(console_error_filename); mem_free_if(local_storage_filename); }