Zhiyi Zhang (@zhiyi) commented about dlls/wintypes/tests/wintypes.c:
- ok( hr == S_OK, "GetView failed, got %#lx\n", hr );
- if (SUCCEEDED( hr ))
- {
hr = IMapView_HSTRING_IInspectable_QueryInterface( map_view, &IID_IIterable_IKeyValuePair_HSTRING_IInspectable,
(void **)&iterable );
todo_wine
ok( hr == S_OK, "QueryInterface failed, got %#lx\n", hr );
if (SUCCEEDED( hr ))
{
hr = IIterable_IKeyValuePair_HSTRING_IInspectable_First( iterable, &iterator );
todo_wine
ok( hr == S_OK, "got %#lx\n", hr );
if (SUCCEEDED( hr ))
IIterator_IKeyValuePair_HSTRING_IInspectable_Release( iterator );
IIterable_IKeyValuePair_HSTRING_IInspectable_Release( iterable );
}
Did you forget to release `map_view`?