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 New Issue