Fixed memory bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -85,7 +85,7 @@ class WXDLLEXPORT wxSearchEngine : public wxObject
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxSearchEngine() : wxObject() {m_Keyword = NULL; }
|
wxSearchEngine() : wxObject() {m_Keyword = NULL; }
|
||||||
~wxSearchEngine() {if (m_Keyword) free(m_Keyword); }
|
~wxSearchEngine() {if (m_Keyword) delete[] m_Keyword; }
|
||||||
|
|
||||||
virtual void LookFor(const wxString& keyword, bool case_sensitive, bool whole_words_only);
|
virtual void LookFor(const wxString& keyword, bool case_sensitive, bool whole_words_only);
|
||||||
// Sets the keyword we will be searching for
|
// Sets the keyword we will be searching for
|
||||||
|
Reference in New Issue
Block a user