summaryrefslogtreecommitdiff
path: root/e2fsck/e2fsck.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2005-12-31 00:00:10 -0500
committerTheodore Ts'o <tytso@mit.edu>2005-12-31 00:00:10 -0500
commit1017f65179f4aa313f699109b471b79f99f38d3d (patch)
treeeede46ffcf8ed92cfda517bdb75b5bc068a139e3 /e2fsck/e2fsck.c
parent2fa9ba98337b07d6acfac52b5ee5dc8116dda866 (diff)
downloade2fsprogs-1017f65179f4aa313f699109b471b79f99f38d3d.tar.gz
Read in /etc/e2fsck.conf configuration file at startup
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'e2fsck/e2fsck.c')
-rw-r--r--e2fsck/e2fsck.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/e2fsck/e2fsck.c b/e2fsck/e2fsck.c
index 7d2ccf62..2ba72c89 100644
--- a/e2fsck/e2fsck.c
+++ b/e2fsck/e2fsck.c
@@ -165,6 +165,9 @@ void e2fsck_free_context(e2fsck_t ctx)
e2fsck_reset_context(ctx);
if (ctx->blkid)
blkid_put_cache(ctx->blkid);
+
+ if (ctx->profile)
+ profile_release(ctx->profile);
ext2fs_free_mem(&ctx);
}