diff options
Diffstat (limited to 'plugins/MimCmd')
-rw-r--r-- | plugins/MimCmd/src/commands.cpp | 1 |
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));
|