Rob Shearman : oleaut32: Fix a leak of the typelib in the tmarshal tests.

Alexandre Julliard julliard at winehq.org
Fri Dec 7 11:02:16 CST 2007


Module: wine
Branch: master
Commit: 83a02c545c93bbb926b859ec001d420c925c2be8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=83a02c545c93bbb926b859ec001d420c925c2be8

Author: Rob Shearman <rob at codeweavers.com>
Date:   Thu Dec  6 14:06:19 2007 +0000

oleaut32: Fix a leak of the typelib in the tmarshal tests.

---

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

diff --git a/dlls/oleaut32/tests/tmarshal.c b/dlls/oleaut32/tests/tmarshal.c
index ce645bf..7e958de 100644
--- a/dlls/oleaut32/tests/tmarshal.c
+++ b/dlls/oleaut32/tests/tmarshal.c
@@ -600,6 +600,7 @@ static IWidget *Widget_Create(void)
             ok_ole_success(hr, CreateStdDispatch);
             ITypeInfo_Release(pTypeInfo);
         }
+        ITypeLib_Release(pTypeLib);
     }
 
     if (SUCCEEDED(hr))




More information about the wine-cvs mailing list