This commit is contained in:
rlar 2012-12-17 21:55:37 +01:00
parent da470dc610
commit c9fa0c60b7
2 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,8 @@ ISRCdestroy(GENmodel **inModel)
oldmod = mod;
prev = NULL;
for(here = mod->ISRCinstances ; here ; here = here->ISRCnextInstance) {
tfree(here->ISRCcoeffs);
tfree(here->ISRC_state);
if(prev) FREE(prev);
prev = here;
}

View File

@ -24,6 +24,8 @@ VSRCdestroy(GENmodel **inModel)
oldmod = mod;
prev = NULL;
for(here = mod->VSRCinstances ; here ; here = here->VSRCnextInstance) {
tfree(here->VSRCcoeffs);
tfree(here->VSRC_state);
if(prev) FREE(prev);
prev = here;
}