diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2004-03-18 12:23:31 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2004-03-18 12:23:31 +0000 |
commit | 2f8a646d4e68d3f515d0b5275d179562a219a9ed (patch) | |
tree | 0f7dd607386e8a2eb094f30fd3f764e2288cbf05 /Src/params.c | |
parent | 91f0b666d00e58c50537d1ca48d90b1af8a25ae7 (diff) | |
download | zsh-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.c | 1 |
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; } |