if (--gRefCnt == 0) {  gRDFService->UnregisterDataSource(this); nsServiceManager::ReleaseService(kRDFServiceCID, gRDFService); gRDFService = nsnull;  NS_RELEASE(kNC_URL); NS_RELEASE(kNC_ShortcutURL); NS_RELEASE(kNC_Bookmark); NS_RELEASE(kNC_BookmarksRoot); NS_RELEASE(kNC_IEFavoritesRoot); NS_RELEASE(kRDF_type); NS_RELEASE(kNC_Folder);  NS_RELEASE(mInner); }
bm_ReleaseGlobals();
BookmarkDataSourceImpl::~BookmarkDataSourceImpl(void){	Flush();	if (--gRefCnt == 0)	{		// unregister this from the RDF service		gRDFService->UnregisterDataSource(this);		nsServiceManager::ReleaseService(kRDFServiceCID, gRDFService);		gRDFService = nsnull;		NS_RELEASE(kNC_URL);		NS_RELEASE(kNC_ShortcutURL);		NS_RELEASE(kNC_Bookmark);		NS_RELEASE(kNC_BookmarksRoot);		NS_RELEASE(kNC_IEFavoritesRoot);		NS_RELEASE(kRDF_type);		NS_RELEASE(kNC_Folder);		NS_RELEASE(mInner);	}}