diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2002-04-24 07:59:17 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2002-04-24 07:59:17 +0000 |
commit | ed98c0bed8e554632b79b278d8251ac52c1dcfbc (patch) | |
tree | 344e48b551926a7eb74d60c400a5d41e65f26e7e /Src/Zle/complete.c | |
parent | 45af2f90f91fa1b3f3b326baa34272a4f045fb91 (diff) | |
download | zsh-ed98c0bed8e554632b79b278d8251ac52c1dcfbc.tar.gz zsh-ed98c0bed8e554632b79b278d8251ac52c1dcfbc.tar.xz zsh-ed98c0bed8e554632b79b278d8251ac52c1dcfbc.zip |
fix two memory leaks (found by Felix): pre-compiled patterns when re-defining styles and compredirs-copies in comp_wrapper() (17029)
Diffstat (limited to 'Src/Zle/complete.c')
-rw-r--r-- | Src/Zle/complete.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/Zle/complete.c b/Src/Zle/complete.c index a787528c2..e1051c30c 100644 --- a/Src/Zle/complete.c +++ b/Src/Zle/complete.c @@ -1320,6 +1320,7 @@ comp_wrapper(Eprog prog, FuncWrap w, char *name) zsfree(oqs); zsfree(oaq); freearray(owords); + freearray(oredirs); } zsfree(comprestore); comprestore = orest; |