From 7b57800df61a48f564a3a21b35bb53d726715a56 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Wed, 7 Nov 2018 23:20:55 +0100 Subject: [PATCH] bug 378 put tfree(def_port_type_str) to an appropriate place. --- src/xspice/mif/mif_inp2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xspice/mif/mif_inp2.c b/src/xspice/mif/mif_inp2.c index 99cddd578..8a09011a6 100644 --- a/src/xspice/mif/mif_inp2.c +++ b/src/xspice/mif/mif_inp2.c @@ -368,7 +368,7 @@ MIF_INP2A ( return; fast[0]->conn[i]->size = 1; - + tfree(def_port_type_str); /* when we leave here, next_token should hold the next, unprocessed netname */ } else { /* ====== the connection is an array - much to be done ... ====== */ @@ -481,7 +481,7 @@ MIF_INP2A ( /* be careful about putting stuff here, there is a 'continue' used */ /* in the processing of NULL connections above */ - tfree(def_port_type_str); + /* At this point, next_token should hold the next unprocessed token. */ } /******* for number of connections *******/