diff options
author | Clint Adams <clint@users.sourceforge.net> | 2001-05-29 21:41:53 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2001-05-29 21:41:53 +0000 |
commit | ac4d669afb4208526ac9d8dde74fad75a588209f (patch) | |
tree | 29c54ef25cc5a1c4f8e14dca5ce91d5f1f45c5bb /Src/Zle/zle_hist.c | |
parent | e56c42c9fe218817b8bad84e0a279f0030bc7c7c (diff) | |
download | zsh-ac4d669afb4208526ac9d8dde74fad75a588209f.tar.gz zsh-ac4d669afb4208526ac9d8dde74fad75a588209f.tar.xz zsh-ac4d669afb4208526ac9d8dde74fad75a588209f.zip |
145??: fix thinko
Diffstat (limited to 'Src/Zle/zle_hist.c')
-rw-r--r-- | Src/Zle/zle_hist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_hist.c b/Src/Zle/zle_hist.c index 53481bd80..9719e5418 100644 --- a/Src/Zle/zle_hist.c +++ b/Src/Zle/zle_hist.c @@ -996,7 +996,7 @@ getvisrchstr(void) visrchstr = metafy(sbuf + 1, sptr - 1, META_DUP); if (!strlen(visrchstr)) { zsfree(visrchstr); - visrchstr = vipenultsrchstr; + visrchstr = ztrdup(vipenultsrchstr); } ret = 1; sptr = 0; |