diff options
author | James Booth <boothj5@gmail.com> | 2015-06-24 20:20:55 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-06-24 20:20:55 +0100 |
commit | 48a2cad8fd504227b42a72abeac8dd2c84816e5f (patch) | |
tree | 7640d5457693dc6d79237d6a9782b1a0259e478a /src/ui | |
parent | 026b0885b586e3eda5cf3cdb075e8d3970731cae (diff) | |
download | profani-tty-48a2cad8fd504227b42a72abeac8dd2c84816e5f.tar.gz |
free muc autocompleter result
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/inputwin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c index 303305b5..b67efbc8 100644 --- a/src/ui/inputwin.c +++ b/src/ui/inputwin.c @@ -442,6 +442,7 @@ _inp_rl_tab_handler(int count, int key) if (result) { rl_replace_line(result, 0); rl_point = rl_end; + free(result); } } else if (strncmp(rl_line_buffer, "/", 1) == 0) { ProfWin *window = wins_get_current(); |