Fix archive_entry double free #1
1 changed files with 0 additions and 1 deletions
|
@ -51,7 +51,6 @@ xwim::ArchiveReaderSys::ArchiveReaderSys(std::filesystem::path& path) {
|
|||
xwim::ArchiveReaderSys::~ArchiveReaderSys() {
|
||||
logger::trace("Destructing ArchiveReaderSys");
|
||||
|
||||
if (this->ae) archive_entry_free(this->ae);
|
||||
if (this->ar) archive_read_free(this->ar);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue