mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-05 14:59:50 +00:00
Don't access 'wm->modname' after the modref has been flushed.
This commit is contained in:
parent
9867997450
commit
0b57a5caed
|
@ -1611,10 +1611,10 @@ BOOL MODULE_FreeLibrary( WINE_MODREF *wm )
|
|||
DEBUG_SendUnloadDLLEvent( wm->module );
|
||||
}
|
||||
|
||||
MODULE_FlushModrefs();
|
||||
|
||||
TRACE("(%s) - END\n", wm->modname );
|
||||
|
||||
MODULE_FlushModrefs();
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue