fstools: fix a couple of minor code problems
authorDaniel Golle <daniel@makrotopia.org>
Tue, 16 Nov 2021 20:49:23 +0000 (20:49 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 16 Nov 2021 21:52:36 +0000 (21:52 +0000)
commit77c02889177c43df8ebe07bce4d55b7f7358118f
treec7e865a50afd8bc5ad0313079e63d9450c9bb984
parentd3907445b7aa9cbde70d501bd68a5e38db90c6b2
fstools: fix a couple of minor code problems

Improve error handling and fix a resource leak inside an error path.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
libblkid-tiny/libblkid-tiny.c
libfstools/common.c
libfstools/mount.c
libfstools/overlay.c
libfstools/partname.c
libfstools/snapshot.c