Bug 896597, deferred release for nsXULPDGlobalObject, r=mccr8

This commit is contained in:
Olli Pettay 2013-07-24 14:30:08 +03:00
parent 55fa92a274
commit 2c280a433a

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);
}