strmbase: Fix a critical section leak (Valgrind).

This commit is contained in:
Sven Baars 2023-08-07 17:31:07 +02:00 committed by Alexandre Julliard
parent 5d97f12521
commit 076d064140

View file

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