From 0dced01fb28a44ecda2604121fe6116b89a60800 Mon Sep 17 00:00:00 2001 From: Jean-Luc Bonnafoux Date: Sun, 14 Jan 2018 17:39:40 +0100 Subject: [PATCH] Bug 1428852 - Crash reporter leaks file handle r=gsvelto MozReview-Commit-ID: IXeI73FipZv --HG-- extra : rebase_source : abc29a4efc72c4400c97605da24798d1d7c124df --- toolkit/crashreporter/client/crashreporter_win.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/toolkit/crashreporter/client/crashreporter_win.cpp b/toolkit/crashreporter/client/crashreporter_win.cpp index 695de06ec920..f29e56b057d6 100644 --- a/toolkit/crashreporter/client/crashreporter_win.cpp +++ b/toolkit/crashreporter/client/crashreporter_win.cpp @@ -1566,6 +1566,7 @@ void UIPruneSavedDumps(const std::string& directory) dumpfiles.pop_back(); } + FindClose(dirlist); } bool UIRunProgram(const string& exename,