We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8f106b commit 27a3b2aCopy full SHA for 27a3b2a
src/libappimage/core/impl/TraversalType2.cpp
@@ -52,6 +52,7 @@ class TraversalType2::Priv {
52
rootInodeId = sqfs_inode_root(&fs);
53
err = sqfs_traverse_open(&trv, &fs, rootInodeId);
54
if (err != SQFS_OK) {
55
+ sqfs_fd_close(fs.fd);
56
sqfs_destroy(&fs);
57
throw IOError("sqfs_traverse_open error");
58
}
@@ -60,6 +61,7 @@ class TraversalType2::Priv {
60
61
virtual ~Priv() {
62
sqfs_traverse_close(&trv);
63
64
65
66
67
0 commit comments