From c9cf68d91b6e7b498329717d0ca3af69560679cf Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 2 May 2001 01:12:27 +0000 Subject: [PATCH] Uncommented the VirtualFree call on dll unload. --- loader/module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/module.c b/loader/module.c index ec69928e110..a549c5c8f62 100644 --- a/loader/module.c +++ b/loader/module.c @@ -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 );