riched20: Avoid releasing a non-existent interface.

Jactry Zeng jactry92 at gmail.com
Thu Apr 17 06:06:55 CDT 2014


2014-04-17 16:20 GMT+08:00 Nikolay Sivov <bunglehead at gmail.com>:
>
> It's possible that new instance will be returned after selection changed.
This way you'll end up with two alive instances.
>

No. According these test:
https://github.com/Jactry/wine/commit/4e0c5e8f2f169560ef8d8d7ae0d0620b8ddcd11e
GetSelection will not return a new instance after selection changed.

> Another thing to test if ITextDocument responds to IID_ITextSelection
query.
>
>> I will try some other ways to fix this bug.
> First thing to do is to figure out what relations are between these
interfaces.

You are right, I need having more tests.

-- 
Regards,
Jactry Zeng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20140417/f60d4bb1/attachment-0001.html>


More information about the wine-devel mailing list