From 1ed69191483002ee62ec5b4d5adb16d3bc315ef3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20J=2E=20Est=C3=A9banez?= Date: Tue, 21 Nov 2023 12:52:55 +0100 Subject: [PATCH] Fix leak in the bookkeeping of GDScript lambdas --- modules/gdscript/gdscript.cpp | 18 ++++++++++-------- modules/gdscript/gdscript.h | 4 ++-- modules/gdscript/gdscript_lambda_callable.h | 4 ++-- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/modules/gdscript/gdscript.cpp b/modules/gdscript/gdscript.cpp index 4accdb4d219..b098a0d3d54 100644 --- a/modules/gdscript/gdscript.cpp +++ b/modules/gdscript/gdscript.cpp @@ -1394,7 +1394,7 @@ String GDScript::debug_get_script_name(const Ref