diff options
author | obrien <obrien@FreeBSD.org> | 2012-04-13 23:30:38 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2012-04-13 23:30:38 +0000 |
commit | 15f98df7891f1853090ecb6c4a9cc734e671ef6b (patch) | |
tree | 76d27a13085cbcecae404c91dc1a6e03fc5c5d7b /compress.c | |
parent | 75c49f9dd6a0ff710f7c791a485899c7a07af444 (diff) | |
download | FreeBSD-src-15f98df7891f1853090ecb6c4a9cc734e671ef6b.zip FreeBSD-src-15f98df7891f1853090ecb6c4a9cc734e671ef6b.tar.gz |
Virgin import of Christos Zoulas's FILE 5.11.
Diffstat (limited to 'compress.c')
-rw-r--r-- | compress.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -35,7 +35,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: compress.c,v 1.67 2011/09/01 12:12:37 christos Exp $") +FILE_RCSID("@(#)$File: compress.c,v 1.68 2011/12/08 12:38:24 rrt Exp $") #endif #include "magic.h" @@ -134,8 +134,7 @@ file_zmagic(struct magic_set *ms, int fd, const char *name, } } error: - if (newbuf) - free(newbuf); + free(newbuf); ms->flags |= MAGIC_COMPRESS; return rv; } |