diff options
Diffstat (limited to 'gpg_wrapper.cpp')
-rwxr-xr-x | gpg_wrapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gpg_wrapper.cpp b/gpg_wrapper.cpp index 3ad3d23..e420faa 100755 --- a/gpg_wrapper.cpp +++ b/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"; |