summaryrefslogtreecommitdiff
path: root/plugins/MimCmd/src/commands.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-09-18 05:37:58 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-09-18 05:37:58 +0000
commit33f3c15f4b743d1fb84ce61b7a9877277594008b (patch)
tree396767bd64cdac3fa13d0a9b72ae7084bed90e0a /plugins/MimCmd/src/commands.cpp
parent102b078a36752afcf1ed849f687c8f16bcc261ba (diff)
MimCmd: memleak fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@15375 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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));