mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Merged in selmf/yacreader/unarr-inclusion (pull request #20)
Add unarr.pro file
This commit is contained in:
parent
4043ba449a
commit
29ec149b79
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user