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

Sven Baars sven.wine at gmail.com
Fri May 31 13:39:43 CDT 2019


Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
 dlls/shell32/tests/shlfolder.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c
index beee31f2ca..87e9141987 100644
--- a/dlls/shell32/tests/shlfolder.c
+++ b/dlls/shell32/tests/shlfolder.c
@@ -3856,6 +3856,8 @@ static void test_ShellItemArrayEnumItems(void)
         for(i = 0; i < done; i++)
             ILFree(apidl[i]);
     }
+
+    IShellFolder_Release(psf);
 }
 
 
-- 
2.17.1




More information about the wine-devel mailing list