thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+

git-svn-id: svn://10.0.0.236/trunk@242941 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dwitte%stanford.edu
2008-01-12 04:30:44 +00:00
parent 3451c7bcc1
commit 7c29041265
20 changed files with 186 additions and 208 deletions

View File

@@ -91,12 +91,11 @@ static PyObject *PyGetIID(PyObject *self, PyObject *args)
nsIID *iid_ret;
nsresult r;
Py_BEGIN_ALLOW_THREADS;
r = pI->GetInterfaceIID(&iid_ret);
r = pI->GetIIDShared(&iid_ret);
Py_END_ALLOW_THREADS;
if ( NS_FAILED(r) )
return PyXPCOM_BuildPyException(r);
PyObject *ret = Py_nsIID::PyObjectFromIID(*iid_ret);
nsMemory::Free(iid_ret);
return ret;
}