diff options
author | delphij <delphij@FreeBSD.org> | 2016-06-27 01:29:17 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2016-06-27 01:29:17 +0000 |
commit | f1bd70502f890a8668985030c0aecc3aeacb10ac (patch) | |
tree | b8ace7bbb90fbad4c9272ff2656e8bd1ba0cf93f /contrib/file/src/apprentice.c | |
parent | 13c308de0c7cfd639629c469f9bc8442dc993d2b (diff) | |
parent | acd3b1450f7e248d50e7881112092a574b9319b2 (diff) | |
download | FreeBSD-src-f1bd70502f890a8668985030c0aecc3aeacb10ac.zip FreeBSD-src-f1bd70502f890a8668985030c0aecc3aeacb10ac.tar.gz |
MFV r302218: file 5.28.
Relnotes: yes
MFC after: 2 weeks
Approved by: re (gjb)
Diffstat (limited to 'contrib/file/src/apprentice.c')
-rw-r--r-- | contrib/file/src/apprentice.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/file/src/apprentice.c b/contrib/file/src/apprentice.c index f8956de..e395854 100644 --- a/contrib/file/src/apprentice.c +++ b/contrib/file/src/apprentice.c @@ -32,7 +32,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: apprentice.c,v 1.248 2016/03/31 17:51:12 christos Exp $") +FILE_RCSID("@(#)$File: apprentice.c,v 1.249 2016/05/17 21:43:07 christos Exp $") #endif /* lint */ #include "magic.h" @@ -3104,6 +3104,7 @@ apprentice_compile(struct magic_set *ms, struct magic_map *map, const char *fn) (void)close(fd); rv = 0; out: + apprentice_unmap(map); free(dbname); return rv; } |