Commit 1d4c1e0b authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

input: plug a memory leak

This fixes https://savannah.gnu.org/bugs/?48538.
No related merge requests found
Showing with 1 addition and 0 deletions
+1 -0
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment