Esme Povirk (@madewokherd) commented about dlls/windowscodecs/tests/converter.c:
{WIC_PIXEL_FORMAT(8bppCb)},
{WIC_PIXEL_FORMAT(8bppCr)},
{WIC_PIXEL_FORMAT(16bppCbCr)},
{WIC_PIXEL_FORMAT(16bppYQuantizedDctCoefficients)},
{WIC_PIXEL_FORMAT(16bppCbQuantizedDctCoefficients)},
{WIC_PIXEL_FORMAT(16bppCrQuantizedDctCoefficients)},
- };
+#undef WIC_PIXEL_FORMAT
- BOOL can_convert, can_native, can_broken, can_wine;
- HRESULT hr, expect_hr, broken_hr;
- IWICFormatConverter *converter;
- UINT i, j;
- hr = CoCreateInstance(&CLSID_WICDefaultFormatConverter, NULL, CLSCTX_INPROC_SERVER,
&IID_IWICFormatConverter, (void**)&converter);
converter is leaked.