Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- disk-utils/mkfs.cramfs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/disk-utils/mkfs.cramfs.c b/disk-utils/mkfs.cramfs.c index fdc2cae..ebc8112 100644 --- a/disk-utils/mkfs.cramfs.c +++ b/disk-utils/mkfs.cramfs.c @@ -168,7 +168,6 @@ do_mmap(char *path, unsigned int size, unsigned int mode){ start = mmap(NULL, size, PROT_READ, MAP_PRIVATE, fd, 0); if (-1 == (int) (long) start) { - free(start); close(fd); err(MKFS_EX_ERROR, "mmap"); } -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html