Commit 076d0641 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

strmbase: Fix a critical section leak (Valgrind).

parent 5d97f125
...@@ -56,6 +56,7 @@ HRESULT strmbase_seeking_init(SourceSeeking *pSeeking, const IMediaSeekingVtbl * ...@@ -56,6 +56,7 @@ HRESULT strmbase_seeking_init(SourceSeeking *pSeeking, const IMediaSeekingVtbl *
void strmbase_seeking_cleanup(SourceSeeking *seeking) void strmbase_seeking_cleanup(SourceSeeking *seeking)
{ {
seeking->cs.DebugInfo->Spare[0] = 0;
DeleteCriticalSection(&seeking->cs); DeleteCriticalSection(&seeking->cs);
} }
......
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