From 9cd9bf345c206154499800b5f18624b0cdeeb3c7 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sun, 26 Aug 2018 19:02:21 +0200 Subject: [PATCH] mif_inp2.c: remove a memory leak --- src/xspice/mif/mif_inp2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xspice/mif/mif_inp2.c b/src/xspice/mif/mif_inp2.c index fdff52721..99cddd578 100644 --- a/src/xspice/mif/mif_inp2.c +++ b/src/xspice/mif/mif_inp2.c @@ -322,6 +322,7 @@ MIF_INP2A ( fast[0]->conn[i]->size = 0; /* eat the null token and continue to next connection */ + tfree(next_token); next_token = MIFget_token(&line,&next_token_type); tfree(def_port_type_str); continue; /* iterate */