mfplat/tests: Fix buffer object leak (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2019-11-26 13:35:31 +03:00 committed by Alexandre Julliard
parent 3c32b3c16e
commit fd3fb2efdb
1 changed files with 2 additions and 0 deletions

View File

@ -1712,6 +1712,8 @@ todo_wine
todo_wine todo_wine
ok(count == 1, "Unexpected buffer count %u.\n", count); ok(count == 1, "Unexpected buffer count %u.\n", count);
IMFMediaBuffer_Release(buffer);
IMFSample_Release(sample); IMFSample_Release(sample);
} }