Commit b8243b01 authored by Charles Davis's avatar Charles Davis Committed by Alexandre Julliard

d3dxof: Don't release a garbage object pointer (Clang).

parent 60dae84b
......@@ -999,8 +999,8 @@ static HRESULT WINAPI IDirectXFileEnumObjectImpl_GetNextDataObject(IDirectXFileE
/* Check if there are templates defined before the object */
if (!parse_templates(&This->buf))
{
hr = DXFILEERR_BADVALUE;
goto error;
*ppDataObj = NULL;
return DXFILEERR_BADVALUE;
}
if (!This->buf.rem_bytes)
......
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