From a5d9664607e39299a84240b2342c3e5594eb1c48 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> Date: Tue, 16 Nov 2010 01:16:26 +0000 Subject: Fixed handle leak git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@576 4f64403b-2f21-0410-a795-97e2b3489a10 --- updater/scan.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'updater/scan.cpp') diff --git a/updater/scan.cpp b/updater/scan.cpp index d17c338..6296743 100644 --- a/updater/scan.cpp +++ b/updater/scan.cpp @@ -345,7 +345,6 @@ bool RearrangeLangpacks(char *shortName, StrList &filenames) WIN32_FIND_DATA findData; HANDLE hFileSearch = FindFirstFile(updates_folder, &findData); - hFileSearch = FindFirstFile(updates_folder, &findData); if(hFileSearch != INVALID_HANDLE_VALUE) { do { _tcscpy(langpack_name, findData.cFileName); -- cgit v1.2.3