summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/TextToken.cpp
diff options
context:
space:
mode:
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;
}