tweaks: plug a memory leak when using Verbatim Input at a prompt

This fixes https://savannah.gnu.org/bugs/?53089.
master
Benno Schulenberg 2018-02-08 17:54:31 +01:00
parent 7a038adfd4
commit 1635060ba6
1 changed files with 2 additions and 0 deletions

View File

@ -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. */