evr/allocator: Fix sample entry leak.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1d36532d22
commit
c37fe322ca
|
@ -585,7 +585,7 @@ static HRESULT sample_allocator_create_samples(struct sample_allocator *allocato
|
|||
|
||||
for (i = 0; i < sample_count; ++i)
|
||||
{
|
||||
struct queued_sample *queued_sample = heap_alloc(sizeof(*queued_sample));
|
||||
struct queued_sample *queued_sample;
|
||||
IMFMediaBuffer *buffer;
|
||||
|
||||
if (SUCCEEDED(hr = MFCreateVideoSampleFromSurface(NULL, &sample)))
|
||||
|
|
Loading…
Reference in New Issue