summaryrefslogtreecommitdiff
path: root/plugins/Variables/help.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Variables/help.cpp')
-rw-r--r--plugins/Variables/help.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Variables/help.cpp b/plugins/Variables/help.cpp
index 0f214bdcea..be9e377c28 100644
--- a/plugins/Variables/help.cpp
+++ b/plugins/Variables/help.cpp
@@ -267,7 +267,7 @@ static TCHAR *getTokenCategory(TOKENREGISTEREX *tr) {
while (*cur != _T('\0')) {
if (*cur == _T('\t')) {
*cur = _T('\0');
- helpText = ( char* )realloc(helpText, strlen(helpText)+1);
+ helpText = ( char* )mir_realloc(helpText, strlen(helpText)+1);
res = mir_a2t(helpText);
mir_free(helpText);