[6/7] windowscodecs: Add some tests for IWICMetadataQueryReader.

Dmitry Timoshkov dmitry at baikal.ru
Sun Jun 25 00:18:48 CDT 2017


Vincent Povirk <madewokherd at gmail.com> wrote:

> > +                    if (CompareStringW(LOCALE_NEUTRAL, NORM_IGNORECASE, queryW, len-1, name, len-1) == CSTR_EQUAL && decoder_data[j].query[len - 1] != 0)
> > +                    {
> > +                        if (winetest_debug > 1)
> > +                            trace("query: %s\n", wine_dbgstr_w(queryW + len - 1));
> > +                        PropVariantInit(&value);
> 
> Shouldn't this be PropVariantClear?

Yes, thanks for another spotted bug.

-- 
Dmitry.



More information about the wine-devel mailing list