summaryrefslogtreecommitdiff
path: root/plugins/Variables/parse_system.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Variables/parse_system.cpp')
-rw-r--r--plugins/Variables/parse_system.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Variables/parse_system.cpp b/plugins/Variables/parse_system.cpp
index a733f8ba25..8acfd174b0 100644
--- a/plugins/Variables/parse_system.cpp
+++ b/plugins/Variables/parse_system.cpp
@@ -863,7 +863,7 @@ static TCHAR *parseTextFile(ARGUMENTSINFO *ai) {
pCur -= csz;
}
icur = pCur - pBuf;
- pBuf = ( PBYTE )realloc(pBuf, bufSz);
+ pBuf = ( PBYTE )mir_realloc(pBuf, bufSz);
pCur = pBuf+icur;
ZeroMemory(pCur+1, TXTFILEBUFSZ*csz);
}