Commit c9cf68d9 authored by Alexandre Julliard's avatar Alexandre Julliard

Uncommented the VirtualFree call on dll unload.

parent a627873a
......@@ -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 );
......
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