From 45e269819e9bde72f3cbb4ec66b82a31c9322414 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Wed, 17 Oct 2018 19:01:59 +0200 Subject: [PATCH] fix a bug --- src/xspice/mif/mifgetmod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xspice/mif/mifgetmod.c b/src/xspice/mif/mifgetmod.c index 76eddfe5c..fec937312 100644 --- a/src/xspice/mif/mifgetmod.c +++ b/src/xspice/mif/mifgetmod.c @@ -201,7 +201,7 @@ char *MIFgetMod( val, NULL); /* free val, allocated by MIFgetValue */ int vtype = (ft_sim->devices[modtmp->INPmodType]->modelParms[j].dataType & IF_VARTYPES); - if (vtype == IF_FLAGVEC || IF_INTVEC) + if (vtype == IF_FLAGVEC || vtype == IF_INTVEC) tfree(val->v.vec.iVec); if (vtype == IF_REALVEC) tfree(val->v.vec.rVec);