From 5687c3e419e88687a97b5bfa728ffe92bf8d4e98 Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 27 Apr 2016 01:36:14 +0100 Subject: [PATCH] Free inputrc string fixes #797 --- src/config/preferences.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/config/preferences.c b/src/config/preferences.c index 25a6ff87..b5fe0512 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -1109,6 +1109,8 @@ prefs_get_inputrc(void) return result; } + g_string_free(inputrc_file, TRUE); + return NULL; }