From 2f8a646d4e68d3f515d0b5275d179562a219a9ed Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 18 Mar 2004 12:23:31 +0000 Subject: 19655, 19656, 19657: Memory leaks spotted by valgrind. Also bug with multiple math function autoloads. --- Src/params.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Src/params.c') diff --git a/Src/params.c b/Src/params.c index 0760146fe..d742a389e 100644 --- a/Src/params.c +++ b/Src/params.c @@ -2673,6 +2673,7 @@ tiedarrunsetfn(Param pm, int exp) zfree(pm->u.data, sizeof(struct tieddata)); /* paranoia -- shouldn't need these, but in case we reuse the struct... */ pm->u.data = NULL; + zsfree(pm->ename); pm->flags &= ~PM_TIED; } -- cgit v1.2.3