diff options
author | Vlad Mironov <mironych@googlemail.com> | 2012-06-30 16:32:48 +0000 |
---|---|---|
committer | Vlad Mironov <mironych@googlemail.com> | 2012-06-30 16:32:48 +0000 |
commit | b60d555adb854610508e1fd4b4107e1e974d003e (patch) | |
tree | 002fda303fcb576ba89e70a1a4548223ac3794ed /plugins/Variables/trigger_variables.cpp | |
parent | c1fad409f3683c7dc2048060d5d98aa7b7228563 (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.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;
}
|