[PATCH] rpcrt4: Fix ITypeInfo ref count handling.

Zebediah Figura z.figura12 at gmail.com
Mon Dec 16 15:52:42 CST 2019


On 12/16/19 3:19 PM, Jacek Caban wrote:
> 
> From: Kevin Puetz <PuetzKevinA at JohnDeere.com>
> 
> Signed-off-by: Jacek Caban <jacek at codeweavers.com>
> ---
>   dlls/rpcrt4/ndr_typelib.c | 23 +++++++++++++++++++----
>   1 file changed, 19 insertions(+), 4 deletions(-)
> 
> 

Hello Jacek,

This feels to me like it's making things even more awkward. I'm
presuming the problem is that get_iface_info() is releasing a passed-in
ITypeInfo, in which case I feel like standard COM practice would just be
to not do that. Does the attached patch work for you?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-rpcrt4-Don-t-release-the-passed-in-ITypeInfo-in-get_.patch
Type: text/x-patch
Size: 6774 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20191216/556d1339/attachment.bin>


More information about the wine-devel mailing list