summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-03-18 13:54:22 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-03-18 13:54:22 +0000
commit514a476afe7c7e5ed617074eda538933641be5f8 (patch)
tree4e3f5897cafeff21b2ea63c4d519fe2f7723bc54 /Src
parent2f8a646d4e68d3f515d0b5275d179562a219a9ed (diff)
downloadzsh-514a476afe7c7e5ed617074eda538933641be5f8.tar.gz
zsh-514a476afe7c7e5ed617074eda538933641be5f8.tar.xz
zsh-514a476afe7c7e5ed617074eda538933641be5f8.zip
unposted: make 19655 a bit safer
Diffstat (limited to 'Src')
-rw-r--r--Src/params.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/params.c b/Src/params.c
index d742a389e..49c3a93d7 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -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;
 }