Skip to content
Snippets Groups Projects
Commit d3fb5860 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard
Browse files

dmusic: Fix memory leak in Direct Music object.

parent 7b3863fe
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,7 @@ static ULONG WINAPI IDirectMusic8Impl_Release (LPDIRECTMUSIC8 iface) {
TRACE("(%p)->(ref before=%u)\n", This, refCount + 1);
if (!refCount) {
HeapFree(GetProcessHeap(), 0, This->ppPorts);
HeapFree(GetProcessHeap(), 0, This);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment