diff options
author | Oliver Kiddle <okiddle@yahoo.co.uk> | 2018-04-07 18:52:37 +0200 |
---|---|---|
committer | Oliver Kiddle <okiddle@yahoo.co.uk> | 2018-04-07 18:52:37 +0200 |
commit | 8e6c1d8b474c6fcbe3da77a9cb2b1d31d65a6ca4 (patch) | |
tree | 967f00cdab2c095830d1a3862edfb56bf5d5a13c /Src/Zle/complete.c | |
parent | d8753f47bb29d6bd5ca8d311b80fadca719982be (diff) | |
download | zsh-8e6c1d8b474c6fcbe3da77a9cb2b1d31d65a6ca4.tar.gz zsh-8e6c1d8b474c6fcbe3da77a9cb2b1d31d65a6ca4.tar.xz zsh-8e6c1d8b474c6fcbe3da77a9cb2b1d31d65a6ca4.zip |
42605: properly free the vi registers hash
Diffstat (limited to 'Src/Zle/complete.c')
-rw-r--r-- | Src/Zle/complete.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Zle/complete.c b/Src/Zle/complete.c index 313dcb92f..1dc2b01c2 100644 --- a/Src/Zle/complete.c +++ b/Src/Zle/complete.c @@ -1325,7 +1325,8 @@ set_compstate(UNUSED(Param pm), HashTable ht) break; } - deleteparamtable(ht); + if (ht != pm->u.hash) + deleteparamtable(ht); } /**/ |