summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/src/utils.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-04-16 20:12:09 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-04-16 20:12:09 +0000
commiteb9fd10e43ea31ecaea55e5e22252fc59c23f108 (patch)
tree1e084adecf6ba7c2bfdf724914597d2c7af20667 /plugins/MirOTR/src/utils.cpp
parent47482deb9eebd316a4caf6635c75636dfe88eebb (diff)
MirOTR:
-support for account names git-svn-id: http://svn.miranda-ng.org/main/trunk@12877 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/src/utils.cpp')
-rw-r--r--plugins/MirOTR/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirOTR/src/utils.cpp b/plugins/MirOTR/src/utils.cpp
index ac72f2094b..2261b089a8 100644
--- a/plugins/MirOTR/src/utils.cpp
+++ b/plugins/MirOTR/src/utils.cpp
@@ -284,7 +284,7 @@ void ShowError(TCHAR *msg) {
message = new TCHAR[size]; // newline and null terminator
mir_sntprintf(message, size, _T("%s\r\n%s"), buffer, msg);
PUShowMessageT(message, SM_WARNING);
- delete message;
+ delete[] message;
}
break;
case ED_MB: