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

This commit is contained in:
Alexandre Julliard 2006-03-06 20:10:36 +01:00
parent 07004966a8
commit 19a3adb958

View File

@ -836,6 +836,7 @@ static ULONG WINAPI MLang_Release( MLang_impl* This )
{
TRACE("Destroying %p\n", This);
HeapFree(GetProcessHeap(), 0, This);
UnlockModule();
}
return ref;