summaryrefslogtreecommitdiff
path: root/plugins/MimCmd/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MimCmd/src/commands.cpp')
-rw-r--r--plugins/MimCmd/src/commands.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/MimCmd/src/commands.cpp b/plugins/MimCmd/src/commands.cpp
index 38b31da795..03c37c55a2 100644
--- a/plugins/MimCmd/src/commands.cpp
+++ b/plugins/MimCmd/src/commands.cpp
@@ -49,6 +49,7 @@ int ConnectToMiranda()
_tcscat(ptszVal, _T(";"));
GetEnvironmentVariable(_T("PATH"), ptszVal + cbPath + 1, cbSize);
SetEnvironmentVariable(_T("PATH"), ptszVal);
+ delete[] ptszVal;
char pluginPath[1024];
GetMirandaFolder(pluginPath, sizeof(pluginPath));