You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I have found a memory leak inside the code during my test.
Ring buffer is created in MiniportWaveRTStream via new() which calls RingBuffer constructor and then allocates some memory.
After that RingBuffer::~RingBuffer() descructor is never called (so to free memory associated with RingBuffer)
adding delete m_RingBuffer (instead of pool free) to MiniportWaveRTStream destructor, or adding separate presudo-desctructor function (e.g. Deinit() ) to RingBuffer class, and then calling it from MiniportWaveRTStream will fix the issue.