mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 13:33:52 +01:00
unposted: make 19655 a bit safer
This commit is contained in:
parent
2f8a646d4e
commit
514a476afe
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user