diff options
Diffstat (limited to 'Src/builtin.c')
-rw-r--r-- | Src/builtin.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Src/builtin.c b/Src/builtin.c index 7dd9317b1..477e984cd 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -1634,7 +1634,6 @@ typeset_single(char *cname, char *pname, Param pm, int func, pm->env = addenv(pname, getsparam(pname), pm->flags); } else if (pm->env && !(pm->flags & PM_HASHELEM)) { delenv(pm->env); - zsfree(pm->env); pm->env = NULL; } if (value) @@ -1711,7 +1710,6 @@ typeset_single(char *cname, char *pname, Param pm, int func, tpm->ct = pm->ct; if (pm->env) { delenv(pm->env); - zsfree(pm->env); } tpm->env = pm->env = NULL; |