Andrey Gusev : shell32/tests: Fix resource leak.

Alexandre Julliard julliard at winehq.org
Fri Jan 5 14:02:03 CST 2018


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

Author: Andrey Gusev <andrey.goosev at gmail.com>
Date:   Fri Jan  5 15:23:26 2018 +0200

shell32/tests: Fix resource leak.

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 28dad2c..0bb4960 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));
+    FindClose(hfind);
 }
 
 START_TEST(progman_dde)




More information about the wine-cvs mailing list