Bug 571728 - Mismatched allocator for SuggestMgr::csconv; r=Olli.Pettay,RyanVM
authorEhsan Akhgari <ehsan@mozilla.com>
Sun, 13 Jun 2010 14:19:23 -0400
changeset 43563 b226cd0d0b7c0a7f7616b5af2edbe762857fdafb
parent 43562 2d156d5c7450287fd5f74d51c82e7a8e0c083096
child 43564 3801007f7fd43506ad3ca2afe8e0f8a22f199f91
push id13773
push usereakhgari@mozilla.com
push dateSun, 13 Jun 2010 19:00:22 +0000
treeherdermozilla-central@b226cd0d0b7c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersOlli.Pettay, RyanVM
bugs571728
milestone1.9.3a6pre
first release with
nightly win64
b226cd0d0b7c / 3.7a6pre / 20100613154136 / files
nightly linux32
nightly linux64
nightly mac
nightly win32
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly win64
Bug 571728 - Mismatched allocator for SuggestMgr::csconv; r=Olli.Pettay,RyanVM
extensions/spellcheck/hunspell/src/suggestmgr.cpp
--- a/extensions/spellcheck/hunspell/src/suggestmgr.cpp
+++ b/extensions/spellcheck/hunspell/src/suggestmgr.cpp
@@ -59,16 +59,20 @@
 #include <string.h>
 #include <stdio.h> 
 #include <ctype.h>
 
 #include "suggestmgr.hxx"
 #include "htypes.hxx"
 #include "csutil.hxx"
 
+#ifdef MOZILLA_CLIENT
+#include "nscore.h" // for mozalloc headers
+#endif
+
 const w_char W_VLINE = { '\0', '|' };
 
 SuggestMgr::SuggestMgr(const char * tryme, int maxn, 
                        AffixMgr * aptr)
 {
 
   // register affix manager and check in string of chars to 
   // try when building candidate suggestions