diff options
author | Dom Lachowicz <domlachowicz@gmail.com> | 2003-08-11 20:00:15 +0000 |
---|---|---|
committer | Dom Lachowicz <domlachowicz@gmail.com> | 2003-08-11 20:00:15 +0000 |
commit | db836b0803fc71e9b99130b068262a18a196a864 (patch) | |
tree | a13c7f5953bd00ec47e03434367ba24b623a83cb | |
parent | d26bd5af89bf6a1fedbe487e83a481415b2cc8a0 (diff) | |
download | enchant-db836b0803fc71e9b99130b068262a18a196a864.tar.gz |
forgot to define freep
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@20787 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r-- | src/ispell/ispell_checker.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ispell/ispell_checker.cpp b/src/ispell/ispell_checker.cpp index 69a7091..9dd527b 100644 --- a/src/ispell/ispell_checker.cpp +++ b/src/ispell/ispell_checker.cpp @@ -199,6 +199,10 @@ ISpellChecker::ISpellChecker() memset(m_pflagindex,0,sizeof(m_pflagindex)); } +#ifndef FREEP +#define FREEP(p) do { if (p) free(p); } while (0) +#endif + ISpellChecker::~ISpellChecker() { // lcleanup(); // replaced this with functions for Win32 brokeness |