mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Fix to address memory allocation problems - Bug #8227
This commit is contained in:
parent
32ab7da25f
commit
14c4d97272
@ -174,11 +174,13 @@ nsProxyObject::Post( PRUint32 methodIndex, nsXPTMethodInfo *methodInfo, nsXPTCMi
|
||||
if (event == nsnull)
|
||||
{
|
||||
mDestQueue->ExitMonitor();
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
|
||||
nsProxyObjectCallInfo *proxyInfo = new nsProxyObjectCallInfo(this, methodIndex, fullParam, paramCount, event);
|
||||
|
||||
if (proxyInfo == nsnull)
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
|
||||
PL_InitEvent(event,
|
||||
proxyInfo,
|
||||
|
Loading…
Reference in New Issue
Block a user