added wxZipFSHandler::Cleanup() (modified patch 1213615)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -71,13 +71,17 @@ wxZipFSHandler::wxZipFSHandler() : wxFileSystemHandler()
|
||||
|
||||
wxZipFSHandler::~wxZipFSHandler()
|
||||
{
|
||||
if (m_Archive)
|
||||
delete m_Archive;
|
||||
if (m_DirsFound)
|
||||
delete m_DirsFound;
|
||||
Cleanup();
|
||||
}
|
||||
|
||||
|
||||
void wxZipFSHandler::Cleanup()
|
||||
{
|
||||
wxDELETE(m_Archive);
|
||||
wxDELETE(m_DirsFound);
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool wxZipFSHandler::CanOpen(const wxString& location)
|
||||
{
|
||||
|
Reference in New Issue
Block a user