1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

free muc autocompleter result

This commit is contained in:
James Booth 2015-06-24 20:20:55 +01:00
parent 026b0885b5
commit 48a2cad8fd

View File

@ -442,6 +442,7 @@ _inp_rl_tab_handler(int count, int key)
if (result) { if (result) {
rl_replace_line(result, 0); rl_replace_line(result, 0);
rl_point = rl_end; rl_point = rl_end;
free(result);
} }
} else if (strncmp(rl_line_buffer, "/", 1) == 0) { } else if (strncmp(rl_line_buffer, "/", 1) == 0) {
ProfWin *window = wins_get_current(); ProfWin *window = wins_get_current();