summaryrefslogtreecommitdiff
path: root/plugins/Variables/parse_inet.cpp
diff options
context:
space:
mode:
authorVlad Mironov <mironych@googlemail.com>2012-06-30 16:32:48 +0000
committerVlad Mironov <mironych@googlemail.com>2012-06-30 16:32:48 +0000
commitb60d555adb854610508e1fd4b4107e1e974d003e (patch)
tree002fda303fcb576ba89e70a1a4548223ac3794ed /plugins/Variables/parse_inet.cpp
parentc1fad409f3683c7dc2048060d5d98aa7b7228563 (diff)
realloc
git-svn-id: http://svn.miranda-ng.org/main/trunk@698 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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);