about summary refs log tree commit diff stats
path: root/src
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
parenta7524bc3a74842aee62d9b97e7fb7f26ac4428d6 (diff)
downloadprofani-tty-5687c3e419e88687a97b5bfa728ffe92bf8d4e98.tar.gz
Free inputrc string
fixes #797
Diffstat (limited to 'src')
-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;
 }
 
=hlt&id=12d73ee8db0f6748fabf65f4d0789c79f76c8d1f'>^
54d48b25 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23