Anton Baskanov (@baskanov) commented about dlls/amstream/ddrawstream.c:
struct ddraw_stream *stream = impl_from_IAMMediaStream(iface); ULONG ref = InterlockedDecrement(&stream->ref); TRACE("%p decreasing refcount to %lu.\n", stream, ref); if (!ref) { DeleteCriticalSection(&stream->cs); if (stream->ddraw) IDirectDraw_Release(stream->ddraw); free(stream);
```suggestion:-0+0 IMemAllocator_Release(stream->private_allocator); free(stream); ```