diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2016-12-20 10:54:44 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2016-12-20 10:54:44 +0100 |
commit | 28aafa709ffa40e26b4cec71171b46b05f6e28aa (patch) | |
tree | 6d4f96e4d549fe1257c0e9471227d0ac1c49ef03 /src/mapcat.c | |
parent | e68c00d7e00a330be5ca6cf249ae3476a06bfa2f (diff) |
Fix an opened file leak.
Diffstat (limited to 'src/mapcat.c')
-rw-r--r-- | src/mapcat.c | 1 |
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); |