diff options
author | nyamatongwe <devnull@localhost> | 2000-07-05 13:49:29 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-07-05 13:49:29 +0000 |
commit | 7becad30859bf44144ec7a35d29dc1500f2670d1 (patch) | |
tree | b034978dc28ba3572c8ac3866c1cdf5b45f6aaa9 /src/ScintillaBase.cxx | |
parent | 63654a7adf0e2960f63d2e20ccf3900d274fa410 (diff) | |
download | scintilla-mirror-7becad30859bf44144ec7a35d29dc1500f2670d1.tar.gz |
Fixed BoundsChecker warnings including some leaks.
Diffstat (limited to 'src/ScintillaBase.cxx')
-rw-r--r-- | src/ScintillaBase.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index 0f7d944fe..ff2e001ec 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -41,7 +41,12 @@ ScintillaBase::ScintillaBase() { #endif } -ScintillaBase::~ScintillaBase() {} +ScintillaBase::~ScintillaBase() { +#ifdef SCI_LEXER + for (int wl=0;wl<numWordLists;wl++) + delete keyWordLists[wl]; +#endif +} void ScintillaBase::Finalise() { popup.Destroy(); |