Fix leak of xptiInterfaceInfo in DebugDump. b=389765 r+sr=jst a=DEBUG-only
git-svn-id: svn://10.0.0.236/trunk@231385 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1742,10 +1742,10 @@ nsXPCWrappedJSClass::DebugDump(PRInt16 depth)
|
||||
if(depth)
|
||||
{
|
||||
uint16 i;
|
||||
nsIInterfaceInfo* parent;
|
||||
nsCOMPtr<nsIInterfaceInfo> parent;
|
||||
XPC_LOG_INDENT();
|
||||
mInfo->GetParent(&parent);
|
||||
XPC_LOG_ALWAYS(("parent @ %x", parent));
|
||||
mInfo->GetParent(getter_AddRefs(parent));
|
||||
XPC_LOG_ALWAYS(("parent @ %x", parent.get()));
|
||||
mInfo->GetMethodCount(&methodCount);
|
||||
XPC_LOG_ALWAYS(("MethodCount = %d", methodCount));
|
||||
mInfo->GetConstantCount(&i);
|
||||
|
||||
Reference in New Issue
Block a user