Fix memory leak in Video player on Windows

#3158
This commit is contained in:
Wojtek Figat
2025-02-17 21:19:45 +01:00
parent 9049093267
commit ccdf004404

View File

@@ -335,6 +335,8 @@ namespace MF
}
PROCESS_SAMPLE_END:
if (buffer2D)
buffer2D->Release();
buffer->Release();
}
if (sample)