1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 21:44:11 +01:00

unposted: make 19655 a bit safer

This commit is contained in:
Peter Stephenson 2004-03-18 13:54:22 +00:00
parent 2f8a646d4e
commit 514a476afe
2 changed files with 3 additions and 0 deletions

@ -1,5 +1,7 @@
2004-03-18 Peter Stephenson <pws@csr.com>
* unposted: make 19655 a bit safer.
* 19657: Src/modules.c: Leak when an autoloadable math function
was read in. Also, it was impossible to autoload multiple math
functions from the same library.

@ -2674,6 +2674,7 @@ tiedarrunsetfn(Param pm, int exp)
/* paranoia -- shouldn't need these, but in case we reuse the struct... */
pm->u.data = NULL;
zsfree(pm->ename);
pm->ename = NULL;
pm->flags &= ~PM_TIED;
}