Commit 19a3adb9 authored by Alexandre Julliard's avatar Alexandre Julliard

mlang: Decrement the module refcount when an object is destroyed.

parent 07004966
......@@ -836,6 +836,7 @@ static ULONG WINAPI MLang_Release( MLang_impl* This )
{
TRACE("Destroying %p\n", This);
HeapFree(GetProcessHeap(), 0, This);
UnlockModule();
}
return ref;
......
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