From 6810e32358759420d08dac650ce0ee7abbde97db Mon Sep 17 00:00:00 2001 From: ge0rdi Date: Fri, 3 Jan 2025 16:36:26 +0100 Subject: [PATCH] WindowExplorer: fix premature context freeing in WepResolveSymbolFunction Context was inserted to `ResolveListHead` list already. It will be freed when removed from the list. This regression was introduced in b5c8ece . --- plugins/WindowExplorer/wndprp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/WindowExplorer/wndprp.c b/plugins/WindowExplorer/wndprp.c index 82d8f785e5ac..2b6233d0b5cb 100644 --- a/plugins/WindowExplorer/wndprp.c +++ b/plugins/WindowExplorer/wndprp.c @@ -417,7 +417,6 @@ NTSTATUS WepResolveSymbolFunction( PostMessage(context->NotifyWindow, WEM_RESOLVE_DONE, 0, (LPARAM)context); PhDereferenceObject(context->Context); - PhFree(context); return STATUS_SUCCESS; }