From f58ddf26fe4edbd5793815cbc43f5b91f7a11e69 Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Tue, 7 Jan 2025 21:04:54 +0000 Subject: [PATCH] Windows: fix leak of a Filename. Introduced in f8e1a2b3a9. (cherry picked from commit 6ec424059cf3a140ea5f128cb858cd566551aa96) --- windows/controls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/windows/controls.c b/windows/controls.c index e1fcc589..b6f559c5 100644 --- a/windows/controls.c +++ b/windows/controls.c @@ -2014,6 +2014,7 @@ bool winctrl_handle_command(struct dlgparam *dp, UINT msg, ctrl->handler(ctrl, dp, dp->data, EVENT_ACTION); c->data = NULL; } + filename_free(fn); } } break;