Really free the memory on dll unload.
diff --git a/loader/module.c b/loader/module.c
index a549c5c..68d0cbe 100644
--- a/loader/module.c
+++ b/loader/module.c
@@ -1519,8 +1519,8 @@
MODULE_modref_list = wm->next;
TRACE(" unloading %s\n", wm->filename);
- VirtualFree( (LPVOID)wm->module, 0, MEM_RELEASE );
if (wm->dlhandle) wine_dll_unload( wm->dlhandle );
+ else UnmapViewOfFile( (LPVOID)wm->module );
FreeLibrary16(wm->hDummyMod);
HeapFree( GetProcessHeap(), 0, wm->deps );
HeapFree( GetProcessHeap(), 0, wm->filename );