summaryrefslogtreecommitdiff
path: root/plugins/Variables/trigger_variables.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/trigger_variables.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/trigger_variables.cpp')
-rw-r--r--plugins/Variables/trigger_variables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Variables/trigger_variables.cpp b/plugins/Variables/trigger_variables.cpp
index 57ddfaff79..c7d8771fc0 100644
--- a/plugins/Variables/trigger_variables.cpp
+++ b/plugins/Variables/trigger_variables.cpp
@@ -41,7 +41,7 @@ static int addToCache(DWORD triggerID) {
}
}
if (!DBGetTriggerSettingTString(triggerID, NULL, MODULENAME, SETTING_TRIGGERTEXT, &dbv)) {
- tvc = ( TRG_VAR_CACHE* )realloc(tvc, (tvcCount+1)*sizeof(TRG_VAR_CACHE));
+ tvc = ( TRG_VAR_CACHE* )mir_realloc(tvc, (tvcCount+1)*sizeof(TRG_VAR_CACHE));
if (tvc == NULL) {
return -1;
}