summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-20 12:27:57 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-20 12:27:57 +0000
commite058bca9728b2a07d54d7d9505d4516581eeb4ea (patch)
tree49463d11b0642c6a00c6d63cfef9b0ce53702d91 /plugins
parent5a4b96cc6544dee25bae646c75c0581c00162030 (diff)
memory corruption fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@5065 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/PluginUpdater/src/unzipfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/unzipfile.cpp b/plugins/PluginUpdater/src/unzipfile.cpp
index c56a7a1ab3..019c3261a3 100644
--- a/plugins/PluginUpdater/src/unzipfile.cpp
+++ b/plugins/PluginUpdater/src/unzipfile.cpp
@@ -58,7 +58,7 @@ bool extractCurrentFile(unzFile uf, TCHAR *ptszDestPath, TCHAR *ptszBackPath)
for (char *p = strchr(filename, '/'); p; p = strchr(p+1, '/'))
*p = '\\';
- if (!db_get_b(NULL, MODNAME "Files", StrToLower(ptrA(_strdup(filename))), true))
+ if (!db_get_b(NULL, MODNAME "Files", StrToLower(ptrA(mir_strdup(filename))), true))
return true;
TCHAR tszDestFile[MAX_PATH], tszBackFile[MAX_PATH];