Skip to content

Commit

Permalink
Fix EnumProcessModules hPseudoCurrentProcess bug.
Browse files Browse the repository at this point in the history
Issue #21485.
  • Loading branch information
mikem8361 committed Dec 11, 2018
1 parent af46c51 commit f953d3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pal/src/thread/process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2686,6 +2686,7 @@ GetProcessModulesFromHandle(
if (hPseudoCurrentProcess == hProcess)
{
pobjProcess = g_pobjProcess;
pobjProcess->AddReference();
}
else
{
Expand Down

0 comments on commit f953d3c

Please sign in to comment.