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

This commit is contained in:
Ulrich Weigand 2000-01-15 22:01:48 +00:00 committed by Alexandre Julliard
parent 9867997450
commit 0b57a5caed
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}