diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-11-16 01:16:26 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-11-16 01:16:26 +0000 |
commit | a5d9664607e39299a84240b2342c3e5594eb1c48 (patch) | |
tree | bf403d70eb9a04ab185aaff52ba466ca8b4f22c2 /updater/scan.cpp | |
parent | 7abf7ebc2d11445216d5d86b283d1aa8e2e42f0d (diff) |
Fixed handle leak
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@576 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'updater/scan.cpp')
-rw-r--r-- | updater/scan.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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);
|