tweaks: plug a memory leak when using Verbatim Input at a prompt
This fixes https://savannah.gnu.org/bugs/?53089.master
parent
7a038adfd4
commit
1635060ba6
|
@ -354,6 +354,8 @@ void do_statusbar_verbatim_input(void)
|
||||||
kbinput = get_verbatim_kbinput(bottomwin, &kbinput_len);
|
kbinput = get_verbatim_kbinput(bottomwin, &kbinput_len);
|
||||||
|
|
||||||
do_statusbar_output(kbinput, kbinput_len, FALSE);
|
do_statusbar_output(kbinput, kbinput_len, FALSE);
|
||||||
|
|
||||||
|
free(kbinput);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return the zero-based column position of the cursor in the answer. */
|
/* Return the zero-based column position of the cursor in the answer. */
|
||||||
|
|
Loading…
Reference in New Issue