Nikolay Sivov (@nsivov) commented about dlls/windows.networking.connectivity/network_information.c:
static HRESULT WINAPI network_information_statics_GetInternetConnectionProfile( INetworkInformationStatics *iface, IConnectionProfile **value ) {
- FIXME( "iface %p, value %p stub!\n", iface, value );
- return E_NOTIMPL;
- struct connection_profile *impl;
- LPDWORD flags = 0;
- TRACE( "iface %p, value %p\n", iface, value );
- *value = NULL;
- if (!InternetGetConnectedState( flags, 0 )) return S_OK;
- if (!(impl = calloc( 1, sizeof(*impl) ))) return E_OUTOFMEMORY;
This allocation does not appear to be released.