shdocvw: Don't bother to free libraries at process exit.

oldstable
Alexandre Julliard 2013-05-17 12:25:09 +02:00
parent 2aa3d2b0e1
commit e3b84cf4f7
1 changed files with 2 additions and 2 deletions

View File

@ -149,9 +149,9 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD fdwReason, LPVOID fImpLoad)
case DLL_PROCESS_ATTACH:
break;
case DLL_PROCESS_DETACH:
if (fImpLoad) break;
if (SHDOCVW_hshell32) FreeLibrary(SHDOCVW_hshell32);
if(ieframe_instance)
FreeLibrary(ieframe_instance);
if (ieframe_instance) FreeLibrary(ieframe_instance);
break;
}
return TRUE;