INPdevParse(), fix a memory leak

This commit is contained in:
rlar 2012-10-17 19:32:31 +02:00 committed by dwarning
parent 3ee36be39f
commit 1163be2c0c
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ char *INPdevParse(char **line, CKTcircuit *ckt, int dev, GENinstance *fast,
error = ft_sim->setInstanceParm (ckt, fast,
ft_sim->devices[dev]->instanceParms[i].id,
val, NULL);
tfree(val->v.vec.rVec);
if (error) {
rtn = INPerror(error);
goto quit;