Commit e70f3e85 authored by Robert Reif's avatar Robert Reif Committed by Alexandre Julliard

Fix primary buffer memory leak.

parent 7c14a9d4
......@@ -285,6 +285,7 @@ static ULONG WINAPI IDirectSoundImpl_Release(
IDsDriver_Release(This->driver);
HeapFree(GetProcessHeap(),0,This->tmp_buffer);
HeapFree(GetProcessHeap(),0,This->buffer);
RtlDeleteResource(&This->buffer_list_lock);
This->mixlock.DebugInfo->Spare[1] = 0;
DeleteCriticalSection(&This->mixlock);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment