From c47ba3a425a745e76a96ec5d4e615cca35cdf38b Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Mon, 10 Feb 2014 15:48:35 +0900 Subject: [PATCH] scrrun: Fix a file enumeration handle leak. --- dlls/scrrun/filesystem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/scrrun/filesystem.c b/dlls/scrrun/filesystem.c index c41709c50d6..21aaf700d1e 100644 --- a/dlls/scrrun/filesystem.c +++ b/dlls/scrrun/filesystem.c @@ -644,6 +644,7 @@ static ULONG WINAPI filecoll_enumvariant_Release(IEnumVARIANT *iface) if (!ref) { IFileCollection_Release(&This->data.u.filecoll.coll->IFileCollection_iface); + FindClose(This->data.u.filecoll.find); heap_free(This); }