summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/TextToken.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-12-31 11:47:48 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-12-31 11:47:48 +0000
commite061455706e49a693473d2f22dbda6e9e63d0978 (patch)
treed9d4ce513aef87bb52935ded1d2d7472df5bb99e /plugins/IEView/src/TextToken.cpp
parent81f73a9df3f62a65d2c3f9c1d2033bca1f66acf0 (diff)
memleaks fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@11694 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/src/TextToken.cpp')
-rw-r--r--plugins/IEView/src/TextToken.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/IEView/src/TextToken.cpp b/plugins/IEView/src/TextToken.cpp
index 2c8d122279..a5d208a199 100644
--- a/plugins/IEView/src/TextToken.cpp
+++ b/plugins/IEView/src/TextToken.cpp
@@ -515,6 +515,7 @@ TextToken* TextToken::tokenizeChatFormatting(const wchar_t *text)
}
i += newTokenSize;
}
+ delete[] tokenBuffer;
return firstToken;
}