about summary refs log tree commit diff
path: root/Src/params.c
diff options
context:
space:
mode:
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 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;
 }