summaryrefslogtreecommitdiff
path: root/src/mapcat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapcat.c')
-rw-r--r--src/mapcat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mapcat.c b/src/mapcat.c
index d9bff86..0039608 100644
--- a/src/mapcat.c
+++ b/src/mapcat.c
@@ -413,6 +413,7 @@ int map_read(map_t *map, const char *path)
rv = 0;
out:
vstr_free(&token);
+ lexer_close(&lexer);
if (rv)
map_free(map);