about summary refs log tree commit diff
path: root/Src/params.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-03-18 12:23:31 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-03-18 12:23:31 +0000
commit2f8a646d4e68d3f515d0b5275d179562a219a9ed (patch)
tree0f7dd607386e8a2eb094f30fd3f764e2288cbf05 /Src/params.c
parent91f0b666d00e58c50537d1ca48d90b1af8a25ae7 (diff)
downloadzsh-2f8a646d4e68d3f515d0b5275d179562a219a9ed.tar.gz
zsh-2f8a646d4e68d3f515d0b5275d179562a219a9ed.tar.xz
zsh-2f8a646d4e68d3f515d0b5275d179562a219a9ed.zip
19655, 19656, 19657: Memory leaks spotted by valgrind.
Also bug with multiple math function autoloads.
Diffstat (limited to 'Src/params.c')
-rw-r--r--Src/params.c1
1 files changed, 1 insertions, 0 deletions
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;
 }