Rémi Bernon (@rbernon) commented about dlls/dmime/audiopath.c:
+{
- struct chunk_entry chunk = { .parent = pchl };
- struct audio_path_pchannel_to_buffer *pchannel_to_buffer = NULL;
- DMUS_IO_PCHANNELTOBUFFER_HEADER header;
- SIZE_T bytes;
- ULONG i;
- HRESULT hr;
- while ((hr = stream_next_chunk(stream, &chunk)) == S_OK)
- {
switch (chunk.id)
{
case DMUS_FOURCC_PCHANNELS_ITEM:
pchannel_to_buffer = calloc(1, sizeof(*pchannel_to_buffer));
if (!pchannel_to_buffer)
return E_OUTOFMEMORY;
You don't need that now, it's allocated below instead.