aboutsummaryrefslogtreecommitdiff
path: root/libs/libtxt
diff options
context:
space:
mode:
authorMarvin Borner2021-04-18 13:05:33 +0200
committerMarvin Borner2021-04-18 13:05:33 +0200
commite1fea940e4c642b1c883429ed5f2a69d51b84270 (patch)
tree79884ba0ccdb9575553f4fb75e176cea31bb9cd6 /libs/libtxt
parentcdf029471736f43776452930b7195a06ab143654 (diff)
Fixed some memory leaks
Diffstat (limited to 'libs/libtxt')
-rw-r--r--libs/libtxt/keymap.c1
1 files changed, 1 insertions, 0 deletions
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;
}