Commit ce2457d5 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

amstream: Avoid leaking critical section debug info in filter_Release().

parent c064fdeb
......@@ -254,6 +254,8 @@ static ULONG WINAPI filter_Release(IMediaStreamFilter *iface)
free(filter->streams);
if (filter->clock)
IReferenceClock_Release(filter->clock);
if (filter->cs.DebugInfo)
filter->cs.DebugInfo->Spare[0] = 0;
DeleteCriticalSection(&filter->cs);
free(filter);
}
......
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