summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike McLaughlin <mikem@microsoft.com>2015-06-16 10:49:54 -0700
committerMike McLaughlin <mikem@microsoft.com>2015-06-16 10:49:54 -0700
commit27b98eb29773a6e5ff964a5863bc05d3a34d2b87 (patch)
tree2d79207146c4479c3cc86f317c9af1629547e752
parenta7f11f2268c5df943fa952d49a1203c88209ae3c (diff)
downloadcoreclr-27b98eb29773a6e5ff964a5863bc05d3a34d2b87.tar.gz
coreclr-27b98eb29773a6e5ff964a5863bc05d3a34d2b87.tar.bz2
coreclr-27b98eb29773a6e5ff964a5863bc05d3a34d2b87.zip
Code review feedback.
-rw-r--r--src/pal/src/thread/process.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pal/src/thread/process.cpp b/src/pal/src/thread/process.cpp
index 3fcd43d0da..498d05fc7d 100644
--- a/src/pal/src/thread/process.cpp
+++ b/src/pal/src/thread/process.cpp
@@ -178,7 +178,7 @@ static BOOL PROCEndProcess(HANDLE hProcess, UINT uExitCode,
//
struct ProcessModules
{
- struct ProcessModules *Next;
+ ProcessModules *Next;
PVOID BaseAddress;
CHAR Name[0];
};
@@ -1920,8 +1920,6 @@ CreateProcessModules(
return NULL;
}
- LockModuleList();
-
CPalThread* pThread = InternalGetCurrentThread();
ProcessModules *listHead = NULL;
char *line = NULL;
@@ -1976,7 +1974,6 @@ CreateProcessModules(
free(line); // We didn't allocate line, but as per contract of getline we should free it
fclose(mapsFile);
- UnlockModuleList();
return listHead;
#else