This commit is contained in:
ElenaSubbotina
2025-02-04 20:12:47 +03:00
parent 6e65479569
commit d48fbe5f38

View File

@ -44,6 +44,7 @@ RoundTripExtractor::RoundTripExtractor(const CUnknownRoundTrip* rt, const std::w
RoundTripExtractor::~RoundTripExtractor()
{
NSDirectory::DeleteDirectory(m_extractedFolderPath);
}
vector_string RoundTripExtractor::find(const std::wstring& strRegEx) const
@ -91,7 +92,7 @@ bool RoundTripExtractor::extract()
COfficeUtils officeUtils(NULL);
m_extractedFolderPath = NSDirectory::CreateDirectoryWithUniqueName(m_tempPath);
if (m_extractedFolderPath.empty()) return false;
if (m_extractedFolderPath.empty())
{
NSFile::CFileBinary::Remove(tempZipPath);
return false;