zero init with TMALLOC

This commit is contained in:
dwarning 2011-06-26 12:58:51 +00:00
parent d95f76629a
commit 461bd39008
1 changed files with 1 additions and 2 deletions

View File

@ -430,8 +430,7 @@ int Size_Not_Found, i;
Wdrn = here->BSIM4w / here->BSIM4nf;
if (Size_Not_Found)
{ pParam = (struct bsim4SizeDependParam *)malloc(
sizeof(struct bsim4SizeDependParam));
{ pParam = TMALLOC(struct bsim4SizeDependParam, 1);
if (pLastKnot == NULL)
model->pSizeDependParamKnot = pParam;
else