diff options
Diffstat (limited to 'sys-utils/losetup.c')
-rw-r--r-- | sys-utils/losetup.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys-utils/losetup.c b/sys-utils/losetup.c index 5be328848..70d9155c0 100644 --- a/sys-utils/losetup.c +++ b/sys-utils/losetup.c @@ -184,8 +184,7 @@ static int show_all_loops(struct loopdev_cxt *lc, const char *file, printf_loopdev(lc); } loopcxt_deinit_iterator(lc); - if (cn_file) - free(cn_file); + free(cn_file); return 0; } @@ -351,8 +350,7 @@ static int make_table(struct loopdev_cxt *lc, } loopcxt_deinit_iterator(lc); - if (cn_file) - free(cn_file); + free(cn_file); return 0; } |