mlang: Decrement the module refcount when an object is destroyed.
This commit is contained in:
parent
07004966a8
commit
19a3adb958
|
@ -836,6 +836,7 @@ static ULONG WINAPI MLang_Release( MLang_impl* This )
|
||||||
{
|
{
|
||||||
TRACE("Destroying %p\n", This);
|
TRACE("Destroying %p\n", This);
|
||||||
HeapFree(GetProcessHeap(), 0, This);
|
HeapFree(GetProcessHeap(), 0, This);
|
||||||
|
UnlockModule();
|
||||||
}
|
}
|
||||||
|
|
||||||
return ref;
|
return ref;
|
||||||
|
|
Loading…
Reference in New Issue