mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-05 11:01:13 +02:00
51950 (tweak per 51949): correct Thingy refcount in raw_getbyte()
This commit is contained in:
parent
1ac393169a
commit
fb5a6a871c
2 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
2023-07-26 Bart Schaefer <schaefer@zsh.org>
|
2023-07-26 Bart Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
|
* 51950 (tweak per 51949): Src/Zle/zle_main.c: correct Thingy
|
||||||
|
refcount in raw_getbyte()
|
||||||
|
|
||||||
* Shohei YOSHIDA: 51927: Completion/Unix/Command/_watch: Update
|
* Shohei YOSHIDA: 51927: Completion/Unix/Command/_watch: Update
|
||||||
procps watch completion for version 4.0.3
|
procps watch completion for version 4.0.3
|
||||||
|
|
||||||
|
|
|
@ -737,7 +737,7 @@ raw_getbyte(long do_keytmout, char *cptr, int full)
|
||||||
) {
|
) {
|
||||||
/* Handle the fd. */
|
/* Handle the fd. */
|
||||||
char *fdbuf;
|
char *fdbuf;
|
||||||
Thingy save_lbindk = lbindk;
|
Thingy save_lbindk = refthingy(lbindk);
|
||||||
{
|
{
|
||||||
char buf[BDIGBUFSIZE];
|
char buf[BDIGBUFSIZE];
|
||||||
convbase(buf, lwatch_fd->fd, 10);
|
convbase(buf, lwatch_fd->fd, 10);
|
||||||
|
@ -780,6 +780,7 @@ raw_getbyte(long do_keytmout, char *cptr, int full)
|
||||||
*/
|
*/
|
||||||
errtry = 1;
|
errtry = 1;
|
||||||
}
|
}
|
||||||
|
unrefthingy(lbindk);
|
||||||
lbindk = save_lbindk;
|
lbindk = save_lbindk;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue