From 29ec149b79eb590fc14e69b470d14046aa3910d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sat, 21 Mar 2015 15:12:37 +0100 Subject: [PATCH] Merged in selmf/yacreader/unarr-inclusion (pull request #20) Add unarr.pro file --- compressed_archive/compressed_archive.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/compressed_archive/compressed_archive.cpp b/compressed_archive/compressed_archive.cpp index 797bb644..25bcc2ee 100644 --- a/compressed_archive/compressed_archive.cpp +++ b/compressed_archive/compressed_archive.cpp @@ -178,16 +178,12 @@ CompressedArchive::CompressedArchive(const QString & filePath, QObject *parent) CompressedArchive::~CompressedArchive() { - #ifdef Q_OS_UNIX if(isRar) //TODO: fix this!!! Possible memory leak. If AddRef is not used, a crash occurs in "delete szInterface" szInterface->archive->AddRef(); #endif if(valid) //TODO: fix this!!! Memory leak. - { - szInterface->archive->Close(); delete szInterface; - } #ifdef Q_OS_UNIX delete rarLib; #endif