Paul Gofman : amstream: Avoid leaking critical section debug info in filter_Release().
Module: wine Branch: master Commit: ce2457d5a9f4356b1c62317b2af5ef582b6607b2 URL: https://gitlab.winehq.org/wine/wine/-/commit/ce2457d5a9f4356b1c62317b2af5ef5... Author: Paul Gofman <pgofman(a)codeweavers.com> Date: Wed Feb 28 16:37:05 2024 -0600 amstream: Avoid leaking critical section debug info in filter_Release(). --- dlls/amstream/filter.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/amstream/filter.c b/dlls/amstream/filter.c index 0ca0f2e2a1c..dbd6fb4f0d2 100644 --- a/dlls/amstream/filter.c +++ b/dlls/amstream/filter.c @@ -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); }
participants (1)
-
Alexandre Julliard