diff options
author | nyamatongwe <unknown> | 2010-12-10 09:59:54 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-12-10 09:59:54 +1100 |
commit | a6636eb563da3108fe1a185cd442bb60cf873181 (patch) | |
tree | 4b8ed3e648b842458a7848226910f49199cf667d | |
parent | d15d59fbf54fac4eeac55d4160d845cab8d0d0cd (diff) | |
download | scintilla-mirror-a6636eb563da3108fe1a185cd442bb60cf873181.tar.gz |
Made LexerBase destructor virtual so LexerSimple cleans up string member. Bug #3133672.
-rw-r--r-- | lexlib/LexerBase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlib/LexerBase.h b/lexlib/LexerBase.h index 02fc34dc3..2998d2449 100644 --- a/lexlib/LexerBase.h +++ b/lexlib/LexerBase.h @@ -20,7 +20,7 @@ protected: WordList *keyWordLists[numWordLists+1]; public: LexerBase(); - ~LexerBase(); + virtual ~LexerBase(); void SCI_METHOD Release(); int SCI_METHOD Version() const; const char * SCI_METHOD PropertyNames(); |