summaryrefslogtreecommitdiff
path: root/plugins/new_gpg/src/gpg_wrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/new_gpg/src/gpg_wrapper.cpp')
-rwxr-xr-xplugins/new_gpg/src/gpg_wrapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/new_gpg/src/gpg_wrapper.cpp b/plugins/new_gpg/src/gpg_wrapper.cpp
index 410a0d50f0..38f86889a4 100755
--- a/plugins/new_gpg/src/gpg_wrapper.cpp
+++ b/plugins/new_gpg/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";