mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 14:06:21 +00:00
Free utf8 substrings for delete word (ctrl-w)
This commit is contained in:
@@ -747,6 +747,9 @@ _delete_previous_word(void)
|
||||
input_len_bytes = strlen(start_string)+i;
|
||||
input[input_len_bytes] = '\0';
|
||||
|
||||
g_free(start_string);
|
||||
g_free(end_string);
|
||||
|
||||
_clear_input();
|
||||
waddstr(inp_win, input);
|
||||
wmove(inp_win, 0, start_del);
|
||||
|
||||
Reference in New Issue
Block a user