From 5d6a4181191ec5eb92f2596fe6099f4009ec12ff Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sun, 29 Jul 2012 22:17:00 +0300 Subject: fixed memorry corruption's improoved autoexchange --- src/gpg_wrapper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gpg_wrapper.cpp') diff --git a/src/gpg_wrapper.cpp b/src/gpg_wrapper.cpp index 410a0d5..38f8688 100755 --- a/src/gpg_wrapper.cpp +++ b/src/gpg_wrapper.cpp @@ -96,8 +96,8 @@ pxResult pxExecute(wstring *acommandline, char *ainput, string *aoutput, LPDWORD commandline += _T("--display-charset utf-8 "); commandline += _T("-z 9 "); commandline += *acommandline; - delete [] bin_path; //hmm - delete [] home_dir; + mir_free(bin_path); + mir_free(home_dir); } debuglog<