Commit 0b57a5ca authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

Don't access 'wm->modname' after the modref has been flushed.

parent 98679974
...@@ -1611,10 +1611,10 @@ BOOL MODULE_FreeLibrary( WINE_MODREF *wm ) ...@@ -1611,10 +1611,10 @@ BOOL MODULE_FreeLibrary( WINE_MODREF *wm )
DEBUG_SendUnloadDLLEvent( wm->module ); DEBUG_SendUnloadDLLEvent( wm->module );
} }
MODULE_FlushModrefs();
TRACE("(%s) - END\n", wm->modname ); TRACE("(%s) - END\n", wm->modname );
MODULE_FlushModrefs();
return TRUE; return TRUE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment