Skip to content

Commit

Permalink
WindowExplorer: fix premature context freeing in WepResolveSymbolFunc…
Browse files Browse the repository at this point in the history
…tion

Context was inserted to `ResolveListHead` list already. It will be freed
when removed from the list.

This regression was introduced in b5c8ece .
  • Loading branch information
ge0rdi committed Jan 3, 2025
1 parent b44c63a commit 6810e32
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugins/WindowExplorer/wndprp.c
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,6 @@ NTSTATUS WepResolveSymbolFunction(
PostMessage(context->NotifyWindow, WEM_RESOLVE_DONE, 0, (LPARAM)context);

PhDereferenceObject(context->Context);
PhFree(context);
return STATUS_SUCCESS;
}

Expand Down

0 comments on commit 6810e32

Please sign in to comment.