This commit is contained in:
rjc%netscape.com 2000-03-19 10:09:14 +00:00
Родитель 019282bedf
Коммит 870f1d7fac
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -249,7 +249,6 @@ class InternetSearchDataSource : public nsIInternetSearchService,
private:
static PRInt32 gRefCnt;
static PRBool mEngineListBuilt;
static nsCOMPtr<nsILoadGroup> mLoadGroup;
// pseudo-constants
static nsIRDFResource *kNC_SearchResult;
@ -290,6 +289,7 @@ static nsCOMPtr<nsILoadGroup> mLoadGroup;
protected:
static nsIRDFDataSource *mInner;
static nsCOMPtr<nsILoadGroup> mLoadGroup;
static nsCOMPtr<nsIRDFDataSource> categoryDataSource;
friend NS_IMETHODIMP NS_NewInternetSearchService(nsISupports* aOuter, REFNSIID aIID, void** aResult);
@ -487,12 +487,14 @@ InternetSearchDataSource::~InternetSearchDataSource (void)
NS_IF_RELEASE(mInner);
mLoadGroup = nsnull;
categoryDataSource = nsnull;
if (gRDFService)
{
nsServiceManager::ReleaseService(kRDFServiceCID, gRDFService);
gRDFService = nsnull;
}
categoryDataSource = NULL;
}
}