From e1fea940e4c642b1c883429ed5f2a69d51b84270 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 18 Apr 2021 13:05:33 +0200 Subject: Fixed some memory leaks --- libs/libtxt/keymap.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/libtxt') diff --git a/libs/libtxt/keymap.c b/libs/libtxt/keymap.c index 67054f6..9e65bf9 100644 --- a/libs/libtxt/keymap.c +++ b/libs/libtxt/keymap.c @@ -84,6 +84,7 @@ struct keymap *keymap_parse(const char *path) map(keymap, line, ch, ch_index); index++; } + free(keymap_src); return keymap; } -- cgit v1.2.3