Commit 7176f9b2 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

mfplat: Fix memory allocation in mfsourceresolver_CreateObjectFromByteStream() (Coverity).

parent 837b4aa4
......@@ -1907,7 +1907,7 @@ static HRESULT WINAPI mfsourceresolver_CreateObjectFromByteStream(IMFSourceResol
{
mfsource *new_object;
new_object = HeapAlloc( GetProcessHeap(), 0, sizeof(*object) );
new_object = HeapAlloc( GetProcessHeap(), 0, sizeof(*new_object) );
if (!new_object)
return E_OUTOFMEMORY;
......
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