Fix archive_entry double free #1

Manually merged
armin merged 1 commit from fix/archive-entry-double-free into master 2020-03-21 23:01:42 +00:00
Showing only changes of commit bde99e3ede - Show all commits

View file

@ -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);
}