Bug 896597, deferred release for nsXULPDGlobalObject, r=mccr8

This commit is contained in:
Olli Pettay 2013-07-24 14:30:08 +03:00
parent 61d8584653
commit 15c5468a36

View File

@ -93,7 +93,7 @@ nsXULPDGlobalObject_finalize(JSFreeOp *fop, JSObject *obj)
nativeThis->OnFinalize(obj);
// The addref was part of JSObject construction
NS_RELEASE(nativeThis);
nsContentUtils::DeferredFinalize(nativeThis);
}