diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-10-06 19:25:12 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-10-06 19:25:12 +0200 |
commit | 7fb91aa5872a79ab94a9adae6ca72f1b1d0f8e36 (patch) | |
tree | e5091822a0b5a3b4a585c5ba19f99853f23b003f /mkfs | |
parent | 41ddda0c732d916a6962c54a3a974a8b753f194b (diff) |
Fix resource leaks reported by coverity
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkfs')
-rw-r--r-- | mkfs/dirscan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkfs/dirscan.c b/mkfs/dirscan.c index 06f4d79..c0572f5 100644 --- a/mkfs/dirscan.c +++ b/mkfs/dirscan.c @@ -211,7 +211,7 @@ static int populate_dir(fstree_t *fs, tree_node_t *root, dev_t devstart, if (ret) { sqfs_perror(n->name, "completing xattr key-value pairs", ret); - return -1; + goto fail; } free(extra); |