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

Sven Baars sven.wine at gmail.com
Thu Dec 20 14:18:29 CST 2018


Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
 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 01500dd3f9..3fe8613a8b 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;
     }
-- 
2.17.1




More information about the wine-devel mailing list