On Mon Apr 7 16:45:00 2025 +0000, Santino Mazza wrote:
There is still something that I don't like about my changes. I'm not sure how to handle the case where NotifyAllocator receives the direct draw own allocator. Right now to prevent the ddraw stream object to reference to it self I just didn't add a reference in NotifyAllocator. I also found that when the ddraw stream is released we don't release the assigned allocator.
Releasing the allocator in `Disconnect()` should fix these issues. Here is how it's done in `strmbase`: [strmbase.c:880](libs/strmbase/pin.c?ref_type=heads#L880)