mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-10 05:47:04 +00:00
Instrument nsScriptNameSpaceManager for leaks (patch on bug 453146, r+sr=bz)
This commit is contained in:
parent
45e735c1b7
commit
6937a7fa99
@ -135,6 +135,7 @@ GlobalNameHashInitEntry(PLDHashTable *table, PLDHashEntryHdr *entry,
|
||||
nsScriptNameSpaceManager::nsScriptNameSpaceManager()
|
||||
: mIsInitialized(PR_FALSE)
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsScriptNameSpaceManager);
|
||||
}
|
||||
|
||||
nsScriptNameSpaceManager::~nsScriptNameSpaceManager()
|
||||
@ -143,6 +144,7 @@ nsScriptNameSpaceManager::~nsScriptNameSpaceManager()
|
||||
// Destroy the hash
|
||||
PL_DHashTableFinish(&mGlobalNames);
|
||||
}
|
||||
MOZ_COUNT_DTOR(nsScriptNameSpaceManager);
|
||||
}
|
||||
|
||||
nsGlobalNameStruct *
|
||||
|
Loading…
Reference in New Issue
Block a user