about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-01-24 22:11:44 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-01-24 22:11:44 +0000
commit5b958e595a2b4060940a5e28e49c522ff486490b (patch)
tree6f0e15522ad5e74136bf025cc8aacf9998c9d0da /Src
parent1464043a323616c9bfc1d7b0421b5a6b26955c05 (diff)
downloadzsh-5b958e595a2b4060940a5e28e49c522ff486490b.tar.gz
zsh-5b958e595a2b4060940a5e28e49c522ff486490b.tar.xz
zsh-5b958e595a2b4060940a5e28e49c522ff486490b.zip
zsh-workers/9421
Diffstat (limited to 'Src')
-rw-r--r--Src/params.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Src/params.c b/Src/params.c
index 55b6fd7f5..8ff12f0b1 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -1933,9 +1933,7 @@ unsetparam_pm(Param pm, int altflag, int exp)
 	    adduserdir(oldpm->nam, oldpm->u.str, 0, 0);
     }
 
-    /* Even removable specials shouldn't be deleted. */
-    if (!(pm->flags & PM_SPECIAL))
-	paramtab->freenode((HashNode) pm); /* free parameter node */
+    paramtab->freenode((HashNode) pm); /* free parameter node */
 }
 
 /* Standard function to unset a parameter.  This is mostly delegated to *