mshtml: Removed return to ensure AddRef is called on an internal interface

Nikolay Sivov bunglehead at gmail.com
Thu Apr 2 04:26:56 CDT 2015


On 02.04.2015 12:23, Piotr Caban wrote:
> On 04/02/15 11:16, Alistair Leslie-Hughes wrote:
>> But "*ppv·=·&This->IHTMLDOMNode_iface" does. Without an AddRef it causes
>> an imbalance of AddRef/Release.
>>
>> So, should it be returning IHTMLDOMNode_iface then?
> I'm not sure if I understand this code correctly but I think that
> nsCycleCollectionISupports is an empty class that only needs a pointer.
> There's no imbalance of AddRef/Release because Release will be never
> called in this case.
>

I think it's just a marker, so gecko knows that this node is included in 
collection business.



More information about the wine-devel mailing list