about summary refs log tree commit diff stats
path: root/src/ui/inputwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/inputwin.c')
-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 e29cec6c..303305b5 100644
--- a/src/ui/inputwin.c
+++ b/src/ui/inputwin.c
@@ -449,6 +449,7 @@ _inp_rl_tab_handler(int count, int key)
         if (result) {
             rl_replace_line(result, 0);
             rl_point = rl_end;
+            free(result);
         }
     }