Followup to bug 571728 - catch the remaining places where the return value of get_current_cs is freed; r=Olli.Pettay

This commit is contained in:
Ehsan Akhgari 2010-06-13 22:48:24 -04:00
parent 042ccf0350
commit 511bb8af53
2 changed files with 7 additions and 1 deletions

View File

@ -68,6 +68,10 @@
#include "csutil.hxx"
#ifdef MOZILLA_CLIENT
#include "nscore.h" // for mozalloc headers
#endif
AffixMgr::AffixMgr(const char * affpath, HashMgr** ptr, int * md, const char * key)
{
// register hash manager and load affix data from aff file

View File

@ -61,7 +61,9 @@
#include "hunspell.hxx"
#include "hunspell.h"
#ifndef MOZILLA_CLIENT
#ifdef MOZILLA_CLIENT
# include "nscore.h"
#else
# include "config.h"
#endif
#include "csutil.hxx"