input: plug a memory leak
This fixes https://savannah.gnu.org/bugs/?48538.
Этот коммит содержится в:
родитель
b3fbb7c7ff
Коммит
1d4c1e0bfc
@ -1417,6 +1417,7 @@ int *parse_verbatim_kbinput(WINDOW *win, size_t *kbinput_len)
|
||||
statusbar(_("Unicode Input"));
|
||||
|
||||
while (uni == ERR) {
|
||||
free(kbinput);
|
||||
while ((kbinput = get_input(win, 1)) == NULL)
|
||||
;
|
||||
uni = get_unicode_kbinput(*kbinput);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user