summaryrefslogtreecommitdiffstats
path: root/chrome/third_party/hunspell/src/hunspell/hashmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/third_party/hunspell/src/hunspell/hashmgr.cxx')
-rw-r--r--chrome/third_party/hunspell/src/hunspell/hashmgr.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/third_party/hunspell/src/hunspell/hashmgr.cxx b/chrome/third_party/hunspell/src/hunspell/hashmgr.cxx
index f1c1355..51c054f 100644
--- a/chrome/third_party/hunspell/src/hunspell/hashmgr.cxx
+++ b/chrome/third_party/hunspell/src/hunspell/hashmgr.cxx
@@ -121,6 +121,11 @@ HashMgr::~HashMgr()
#ifdef HUNSPELL_CHROME_CLIENT
EmptyHentryCache();
+ STLDeleteValues(&custom_word_to_hentry_map_);
+ for (std::vector<std::string*>::iterator it = pointer_to_strings_.begin();
+ it != pointer_to_strings_.end(); ++it) {
+ delete *it;
+ }
#endif
}