From 99b0e78c84fd417086e041e81a8558419afdefd5 Mon Sep 17 00:00:00 2001 From: rlar Date: Wed, 17 Oct 2012 19:39:30 +0200 Subject: [PATCH] DCtrCurv(), fix a memory leak --- src/spicelib/analysis/dctrcurv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/spicelib/analysis/dctrcurv.c b/src/spicelib/analysis/dctrcurv.c index 5b4cc12be..7e0a218e6 100644 --- a/src/spicelib/analysis/dctrcurv.c +++ b/src/spicelib/analysis/dctrcurv.c @@ -223,6 +223,7 @@ found:; ckt->CKTcurJob->JOBname, varUid, IF_REAL, numNames, nameList, IF_REAL, &plot); + tfree(nameList); if(error) return(error); /* now have finished the initialization - can start doing hard part */