[PATCH] shell32/tests: Fix resource leak.

Andrey Gusev andrey.goosev at gmail.com
Fri Jan 5 06:36:56 CST 2018


Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
 dlls/shell32/tests/progman_dde.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/shell32/tests/progman_dde.c b/dlls/shell32/tests/progman_dde.c
index 28dad2c87f..d1947add10 100644
--- a/dlls/shell32/tests/progman_dde.c
+++ b/dlls/shell32/tests/progman_dde.c
@@ -452,6 +452,7 @@ static void test_request_groups(DWORD instance, HCONV hconv)
                "directory '%s' missing from group list\n", finddata.cFileName);
         }
     } while (FindNextFileA(hfind, &finddata));
+    CloseHandle(hfind);
 }
 
 START_TEST(progman_dde)
-- 
2.13.6




More information about the wine-devel mailing list