rm FREE(model->pSizeDependParamKnot)

This commit is contained in:
dwarning
2009-07-22 21:06:11 +00:00
parent e5657968f8
commit fbe087baff
2 changed files with 0 additions and 4 deletions
@@ -55,8 +55,6 @@ int Size_Not_Found;
{ model->BSIM3v32GatesidewallJctPotential = 0.1; { model->BSIM3v32GatesidewallJctPotential = 0.1;
fprintf(stderr, "Given pbswg is less than 0.1. Pbswg is set to 0.1.\n"); fprintf(stderr, "Given pbswg is less than 0.1. Pbswg is set to 0.1.\n");
} }
/* va: was memory leakage - free old node, (or better use again?) */
FREE(model->pSizeDependParamKnot);
model->pSizeDependParamKnot = NULL; model->pSizeDependParamKnot = NULL;
pLastKnot = NULL; pLastKnot = NULL;
-2
View File
@@ -166,8 +166,6 @@ int Size_Not_Found, i;
} }
if (!model->BSIM4cgboGiven) if (!model->BSIM4cgboGiven)
model->BSIM4cgbo = 2.0 * model->BSIM4dwc * model->BSIM4coxe; model->BSIM4cgbo = 2.0 * model->BSIM4dwc * model->BSIM4coxe;
/* va: was memory leakage - free old node, (or better use again?) */
FREE(model->pSizeDependParamKnot);
model->pSizeDependParamKnot = NULL; model->pSizeDependParamKnot = NULL;
pLastKnot = NULL; pLastKnot = NULL;