From bb0224a77161d49f76879066b4486e759f4e94f1 Mon Sep 17 00:00:00 2001 From: Matthias Koenig Date: Mon, 7 Apr 2008 11:49:34 -0400 Subject: [PATCH] e2fsck: avoid double free of ctx->filesystem_name In current git there is a double free on ctx->filesystem_name in the end of main() and in e2fsck_free_context, causing e2fsck to abort at the end of pass5. Signed-off-by: Matthias Koenig Signed-off-by: "Theodore Ts'o" --- e2fsck/unix.c | 1 - 1 file changed, 1 deletion(-) diff --git a/e2fsck/unix.c b/e2fsck/unix.c index d3a8a2b69..303cec949 100644 --- a/e2fsck/unix.c +++ b/e2fsck/unix.c @@ -1390,7 +1390,6 @@ no_journal: ext2fs_close(fs); ctx->fs = NULL; - free(ctx->filesystem_name); free(ctx->journal_name); #ifdef RESOURCE_TRACK -- 2.47.2