Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Ark
Commits
aa4a790d
Commit
aa4a790d
authored
Aug 15, 2020
by
Alexey Ivanov
🐢
Browse files
libzipplugin.cpp: add missing zip_fclose to prevent memory leaks in testArchive function
parent
f1b5f10c
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/libzipplugin/libzipplugin.cpp
View file @
aa4a790d
...
...
@@ -490,6 +490,9 @@ bool LibzipPlugin::testArchive()
qCCritical
(
ARK
)
<<
"CRC check failed for"
<<
statBuffer
.
name
;
return
false
;
}
// Free libzip file entry from the memory
zip_fclose
(
zipFile
);
emit
progress
(
float
(
i
)
/
nofEntries
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment