Sven Baars : propsys/tests: Fix a memory leak (Valgrind).

Alexandre Julliard julliard at winehq.org
Fri Dec 21 11:44:10 CST 2018


Module: wine
Branch: master
Commit: 61a1dae39885d20de1da321ff742697e7634f0fd
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=61a1dae39885d20de1da321ff742697e7634f0fd

Author: Sven Baars <sven.wine at gmail.com>
Date:   Thu Dec 20 21:18:29 2018 +0100

propsys/tests: Fix a memory leak (Valgrind).

Signed-off-by: Sven Baars <sven.wine at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/propsys/tests/propstore.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/propsys/tests/propstore.c b/dlls/propsys/tests/propstore.c
index 01500dd..3fe8613 100644
--- a/dlls/propsys/tests/propstore.c
+++ b/dlls/propsys/tests/propstore.c
@@ -214,6 +214,7 @@ static void test_persistserialized(void)
 
     if (FAILED(hr))
     {
+        IPropertyStore_Release(propstore);
         skip("IPersistSerializedPropStorage not supported\n");
         return;
     }




More information about the wine-cvs mailing list