about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-06-24 20:20:55 +0100
committerJames Booth <boothj5@gmail.com>2015-06-24 20:20:55 +0100
commit48a2cad8fd504227b42a72abeac8dd2c84816e5f (patch)
tree7640d5457693dc6d79237d6a9782b1a0259e478a /src/ui
parent026b0885b586e3eda5cf3cdb075e8d3970731cae (diff)
downloadprofani-tty-48a2cad8fd504227b42a72abeac8dd2c84816e5f.tar.gz
free muc autocompleter result
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/inputwin.c1
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();