summaryrefslogtreecommitdiff
path: root/plugins/Variables/parse_inet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Variables/parse_inet.cpp')
-rw-r--r--plugins/Variables/parse_inet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Variables/parse_inet.cpp b/plugins/Variables/parse_inet.cpp
index dce4fa76a4..12db607b99 100644
--- a/plugins/Variables/parse_inet.cpp
+++ b/plugins/Variables/parse_inet.cpp
@@ -41,7 +41,7 @@ static TCHAR *parseUrlEnc(ARGUMENTSINFO *ai) {
cur++;
continue;
}
- res = ( char* )realloc(res, strlen(res)+4);
+ res = ( char* )mir_realloc(res, strlen(res)+4);
if (res == NULL)
return NULL;
@@ -83,7 +83,7 @@ static TCHAR *parseUrlDec(ARGUMENTSINFO *ai) {
}
cur++;
}
- res = ( char* )realloc(res, strlen(res)+1);
+ res = ( char* )mir_realloc(res, strlen(res)+1);
tres = mir_a2t(res);