Commit c37fe322 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

evr/allocator: Fix sample entry leak.

parent 1d36532d
......@@ -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)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment