Andrew Bogott : shdocvw: Plug a tiny memory leak in a test.

Alexandre Julliard julliard at winehq.org
Sun Dec 5 12:10:11 CST 2010


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

Author: Andrew Bogott <andrew at CodeWeavers.com>
Date:   Tue Nov 23 03:43:32 2010 -0600

shdocvw: Plug a tiny memory leak in a test.

---

 dlls/shdocvw/tests/intshcut.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/shdocvw/tests/intshcut.c b/dlls/shdocvw/tests/intshcut.c
index 4cf289d..5245d9f 100644
--- a/dlls/shdocvw/tests/intshcut.c
+++ b/dlls/shdocvw/tests/intshcut.c
@@ -222,6 +222,8 @@ static void test_ReadAndWriteProperties(void)
 
         ok(lstrcmpW(pvread[0].pwszVal, iconPath) == 0, "Wrong icon path read: %s\n",wine_dbgstr_w(pvread[0].pwszVal));
 
+        PropVariantClear(&pvread[0]);
+        PropVariantClear(&pvread[1]);
         IPropertyStorage_Release(pPropStgRead);
         IPropertySetStorage_Release(pPropSetStg);
         urlA->lpVtbl->Release(urlA);




More information about the wine-cvs mailing list