Browse Source

zero init with TMALLOC

dwarning 15 years ago
parent
commit
461bd39008
  1. 3
      src/spicelib/devices/bsim4/b4temp.c

3
src/spicelib/devices/bsim4/b4temp.c

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

Loading…
Cancel
Save