Commit b6c96cf7 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

qasf: Free type libraries on process detach (Valgrind).

parent 0e6fc4d8
...@@ -108,6 +108,10 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved) ...@@ -108,6 +108,10 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
DisableThreadLibraryCalls(instance); DisableThreadLibraryCalls(instance);
qasf_instance = instance; qasf_instance = instance;
} }
else if (reason == DLL_PROCESS_DETACH && !reserved)
{
strmbase_release_typelibs();
}
return TRUE; return TRUE;
} }
......
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