]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fs_mem.cpp
added more specializations for bcc32
[wxWidgets.git] / src / common / fs_mem.cpp
index a1013b5bde1dc6d87f02590ffecd8dd526ebcb44..81bf3697657374e4a7dfb3d8d0085ca0af44d849 100644 (file)
@@ -101,6 +101,7 @@ wxMemoryFSHandlerBase::~wxMemoryFSHandlerBase()
 
     if (m_Hash)
     {
+        WX_CLEAR_HASH_TABLE(*m_Hash);
         delete m_Hash;
         m_Hash = NULL;
     }
@@ -160,7 +161,6 @@ bool wxMemoryFSHandlerBase::CheckHash(const wxString& filename)
     if (m_Hash == NULL)
     {
         m_Hash = new wxHashTable(wxKEY_STRING);
-        m_Hash -> DeleteContents(TRUE);
     }
 
     if (m_Hash -> Get(filename) != NULL)