1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 22:11:54 +02:00

30033: silence valgrind warnings

This commit is contained in:
Bart Schaefer 2011-12-20 17:15:50 +00:00
parent fceb078924
commit 81cb361d73
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-12-20 Barton E. Schaefer <schaefer@zsh.org>
* 30033: Src/Zle/zle_keymap.c: silence valgrind warnings about
uninitialized values.
2011-12-19 Peter Stephenson <pws@csr.com>
* unposted: Config/version.mk: update version to 4.3.15-dev-0 to
@ -15776,5 +15781,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5545 $
* $Revision: 1.5546 $
*****************************************************

View file

@ -544,6 +544,7 @@ bindkey(Keymap km, char *seq, Thingy bind, char *str)
if(km->first[f]) {
char fs[3];
fs[0] = f;
fs[1] = 0;
metafy(fs, 1, META_NOALLOC);
km->multi->addnode(km->multi, ztrdup(fs),
makekeynode(km->first[f], NULL));