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

Piotr Caban piotr.caban at gmail.com
Thu Apr 2 04:23:06 CDT 2015


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.




More information about the wine-devel mailing list