From 17919298f78531dbec1eb1b22db1dfc8ad76d854 Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 24 Jun 2015 14:27:40 +0100 Subject: Free prefs strings, check for NULLs when closing pgp module --- src/ui/inputwin.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui/inputwin.c') 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); } } -- cgit 1.4.1-2-gfad0