From d613687fadc523fab287b72fa674520d2dd2e687 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 21 Jul 2019 20:22:36 +0200 Subject: fix possible leak in tar2sqfs if writing xattrs fails Signed-off-by: David Oberhollenzer --- tar/tar2sqfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tar') diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c index 8394b7f..f557f95 100644 --- a/tar/tar2sqfs.c +++ b/tar/tar2sqfs.c @@ -403,7 +403,7 @@ int main(int argc, char **argv) goto out; if (write_xattr(outfd, &fs, &super, cmp)) - goto out_data; + goto out; if (sqfs_super_write(&super, outfd)) goto out; -- cgit v1.2.3