diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-07-29 22:17:00 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-07-29 22:17:00 +0300 |
commit | 5d6a4181191ec5eb92f2596fe6099f4009ec12ff (patch) | |
tree | 376a62e8f3c8e7a1300b2bd3a07124c25dc6d5d1 /src/gpg_wrapper.cpp | |
parent | 4b918c8f61749cfc0cfc9a8abd0c3b06af042faf (diff) |
fixed memorry corruption's
improoved autoexchange
Diffstat (limited to 'src/gpg_wrapper.cpp')
-rwxr-xr-x | src/gpg_wrapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<<time_str()<<": gpg in: "<<commandline<<"\n"; |