summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDom Lachowicz <domlachowicz@gmail.com>2003-08-11 19:57:25 +0000
committerDom Lachowicz <domlachowicz@gmail.com>2003-08-11 19:57:25 +0000
commitd26bd5af89bf6a1fedbe487e83a481415b2cc8a0 (patch)
tree4ff40c0d7d890a9bf700f3a5741fe7d0918f5672
parent81aff2027ad6a88f96ba5dae5c7671ab1725b0a9 (diff)
downloadenchant-d26bd5af89bf6a1fedbe487e83a481415b2cc8a0.tar.gz
fix ispell brokenness
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@20786 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r--src/ispell/ispell_checker.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/ispell/ispell_checker.cpp b/src/ispell/ispell_checker.cpp
index 2309852..69a7091 100644
--- a/src/ispell/ispell_checker.cpp
+++ b/src/ispell/ispell_checker.cpp
@@ -201,8 +201,15 @@ ISpellChecker::ISpellChecker()
ISpellChecker::~ISpellChecker()
{
- lcleanup();
-
+ // lcleanup(); // replaced this with functions for Win32 brokeness
+ clearindex (m_pflagindex);
+ clearindex (m_sflagindex);
+
+ FREEP(m_hashtbl);
+ FREEP(m_hashstrings);
+ FREEP(m_sflaglist);
+ FREEP(m_chartypes);
+
if (g_iconv_is_valid (m_translate_in ))
g_iconv_close(m_translate_in);
m_translate_in = G_ICONV_INVALID;