From c0eeb96dd994082c4d8c9acdfd0a60e2caa0cbef Mon Sep 17 00:00:00 2001 From: rlar Date: Sun, 7 Apr 2013 19:12:29 +0200 Subject: [PATCH] xpsice, fix premature tfree() invocation reported by "Heini X" on the ngspice-users mailing list this bug was introduced in : commit 0af75f3bd968f8a29f88221a81da6f9dafd2fceb : Date: Sat Aug 18 18:31:23 2012 +0200 : : subckt.c, mif_inp2.c: plug XSPICE setup memory leaks --- src/xspice/mif/mif_inp2.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/xspice/mif/mif_inp2.c b/src/xspice/mif/mif_inp2.c index 62e9ece87..c1240e1b1 100644 --- a/src/xspice/mif/mif_inp2.c +++ b/src/xspice/mif/mif_inp2.c @@ -746,9 +746,6 @@ MIFget_port_type( *status = MIF_OK; } - - if (temp) - tfree(temp); }