diff options
Diffstat (limited to 'plugins/Variables/trigger_variables.cpp')
-rw-r--r-- | plugins/Variables/trigger_variables.cpp | 2 |
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;
}
|