Browse Source

xpsice, fix premature tfree() invocation

reported by "Heini X" on the ngspice-users mailing list

this bug was introduced in

: commit 0af75f3bd9
: Date:   Sat Aug 18 18:31:23 2012 +0200
:
:     subckt.c, mif_inp2.c: plug XSPICE setup memory leaks
pre-master-46
rlar 13 years ago
parent
commit
c0eeb96dd9
  1. 3
      src/xspice/mif/mif_inp2.c

3
src/xspice/mif/mif_inp2.c

@ -746,9 +746,6 @@ MIFget_port_type(
*status = MIF_OK; *status = MIF_OK;
} }
if (temp)
tfree(temp);
} }

Loading…
Cancel
Save