1
0
Fork 0

Missing SHARED_ACQUIRE

This commit is contained in:
Nukem 2015-03-18 19:04:00 -04:00
parent 0abe4fc1bd
commit 179c5ea5dd
1 changed files with 2 additions and 0 deletions

View File

@ -247,6 +247,8 @@ uint ModEntryFromAddr(uint addr)
int ModPathFromAddr(duint addr, char* path, int size) int ModPathFromAddr(duint addr, char* path, int size)
{ {
SHARED_ACQUIRE(LockModules);
auto module = ModInfoFromAddr(addr); auto module = ModInfoFromAddr(addr);
if(!module) if(!module)