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

Alexandre Julliard julliard at wine.codeweavers.com
Mon Mar 6 15:27:53 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 19a3adb9580ccf32c66c0ff4864a68d31044684f
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=19a3adb9580ccf32c66c0ff4864a68d31044684f

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Mar  6 20:10:36 2006 +0100

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

---

 dlls/mlang/mlang.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/mlang/mlang.c b/dlls/mlang/mlang.c
index e339b02..21076f4 100644
--- a/dlls/mlang/mlang.c
+++ b/dlls/mlang/mlang.c
@@ -836,6 +836,7 @@ static ULONG WINAPI MLang_Release( MLang
     {
         TRACE("Destroying %p\n", This);
 	HeapFree(GetProcessHeap(), 0, This);
+        UnlockModule();
     }
 
     return ref;




More information about the wine-cvs mailing list