qasf: Free type libraries on process detach (Valgrind).
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0e6fc4d81c
commit
b6c96cf763
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue