Skip to content

Commit

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

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

This regression was introduced in b5c8ece .

Co-authored-by: Johnny Shaw <[email protected]>
  • Loading branch information
ge0rdi and jxy-s authored Jan 3, 2025
1 parent 10805c6 commit a201a1f
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 a201a1f

Please sign in to comment.