diff options
author | James Booth <boothj5@gmail.com> | 2015-06-24 14:27:40 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-06-24 14:27:40 +0100 |
commit | 17919298f78531dbec1eb1b22db1dfc8ad76d854 (patch) | |
tree | 93bdb9d28542a0944e0662c3003602b041784d3e /src/ui/inputwin.c | |
parent | 815ca16f48b38fea0f8e06fb0164e4ba1894a932 (diff) | |
download | profani-tty-17919298f78531dbec1eb1b22db1dfc8ad76d854.tar.gz |
Free prefs strings, check for NULLs when closing pgp module
Diffstat (limited to 'src/ui/inputwin.c')
-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 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); } } |