Bug 387111, release popup manager properly, was causing a crash, r+sr=roc

This commit is contained in:
enndeakin@sympatico.ca 2007-07-12 06:57:01 -07:00
parent 91a68d324f
commit 8fa56f3a36

View File

@ -127,8 +127,7 @@ nsXULPopupManager::Init()
void
nsXULPopupManager::Shutdown()
{
NS_RELEASE(sInstance);
sInstance = nsnull;
NS_IF_RELEASE(sInstance);
}
nsXULPopupManager*