From fc3ffb2e3cc1d3307401be3f1e825ddf315a9d4b Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Fri, 31 Aug 2018 17:08:04 +0200 Subject: [PATCH] free global string errMsg --- src/frontend/misccoms.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend/misccoms.c b/src/frontend/misccoms.c index 5e1bbb650..ef434ac4e 100644 --- a/src/frontend/misccoms.c +++ b/src/frontend/misccoms.c @@ -7,6 +7,7 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group #include "ngspice/cpdefs.h" #include "ngspice/ftedefs.h" #include "ngspice/dvec.h" +#include "ngspice/iferrmsg.h" #include "ftehelp.h" #include "ngspice/hlpdefs.h" #include "misccoms.h" @@ -87,6 +88,7 @@ com_quit(wordlist *wl) com_remcirc(NULL); #endif + tfree(errMsg); byemesg(); #ifdef SHARED_MODULE