about summary refs log tree commit diff
path: root/Src/Zle/compresult.c
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-05 07:57:27 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-05 07:57:27 +0000
commitf94e5d78b06d2641e08d61f48c100eb205f5ac0a (patch)
tree8ee6afc85258918b0efe63d7482039e1a27d146f /Src/Zle/compresult.c
parentd1813a007f2343402d1de883403278f91da1ab53 (diff)
downloadzsh-f94e5d78b06d2641e08d61f48c100eb205f5ac0a.tar.gz
zsh-f94e5d78b06d2641e08d61f48c100eb205f5ac0a.tar.xz
zsh-f94e5d78b06d2641e08d61f48c100eb205f5ac0a.zip
some more memory leak fixes (11745)
Diffstat (limited to 'Src/Zle/compresult.c')
-rw-r--r--Src/Zle/compresult.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c
index 1e807a93d..7e2e564f1 100644
--- a/Src/Zle/compresult.c
+++ b/Src/Zle/compresult.c
@@ -1168,7 +1168,7 @@ void
 comp_list(char *v)
 {
     zsfree(complist);
-    complist = ztrdup(v);
+    complist = v;
 
     onlyexpl = (v ? ((strstr(v, "expl") ? 1 : 0) |
 		     (strstr(v, "messages") ? 2 : 0)) : 0);