about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-04-27 01:36:14 +0100
committerJames Booth <boothj5@gmail.com>2016-04-27 01:36:14 +0100
commit5687c3e419e88687a97b5bfa728ffe92bf8d4e98 (patch)
tree2dd18c6ef571aeb40f47d586bb70a810bf0059a8 /src/config
parenta7524bc3a74842aee62d9b97e7fb7f26ac4428d6 (diff)
downloadprofani-tty-5687c3e419e88687a97b5bfa728ffe92bf8d4e98.tar.gz
Free inputrc string
fixes #797
Diffstat (limited to 'src/config')
-rw-r--r--src/config/preferences.c2
1 files changed, 2 insertions, 0 deletions
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;
 }