mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
fixes bug 338075 "CID 538, resource leak" patch by Feng Qian, r=darin
This commit is contained in:
parent
42f2f41bff
commit
54d7419a37
@ -537,6 +537,7 @@ nsProxyObject::convertMiniVariantToVariant(nsXPTMethodInfo *methodInfo,
|
||||
if ((mProxyType & NS_PROXY_ASYNC) && paramInfo.IsDipper())
|
||||
{
|
||||
NS_WARNING("Async proxying of out parameters is not supported");
|
||||
free(*fullParam);
|
||||
return NS_ERROR_PROXY_INVALID_OUT_PARAMETER;
|
||||
}
|
||||
uint8 flags = paramInfo.IsOut() ? nsXPTCVariant::PTR_IS_DATA : 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user