Uncommented the VirtualFree call on dll unload.

This commit is contained in:
Alexandre Julliard 2001-05-02 01:12:27 +00:00
parent a627873ab2
commit c9cf68d91b
1 changed files with 2 additions and 2 deletions

View File

@ -1519,8 +1519,8 @@ static void MODULE_FlushModrefs(void)
MODULE_modref_list = wm->next;
TRACE(" unloading %s\n", wm->filename);
/* VirtualFree( (LPVOID)wm->module, 0, MEM_RELEASE ); */ /* FIXME */
/* if (wm->dlhandle) wine_dlclose( wm->dlhandle, NULL, 0 ); */ /* FIXME */
VirtualFree( (LPVOID)wm->module, 0, MEM_RELEASE );
if (wm->dlhandle) wine_dll_unload( wm->dlhandle );
FreeLibrary16(wm->hDummyMod);
HeapFree( GetProcessHeap(), 0, wm->deps );
HeapFree( GetProcessHeap(), 0, wm->filename );