mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 13:57:32 +02:00
rm FREE(model->pSizeDependParamKnot)
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user