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

This commit is contained in:
Charles Davis 2012-09-13 23:35:20 -06:00 committed by Alexandre Julliard
parent 60dae84bc6
commit b8243b01b5
1 changed files with 2 additions and 2 deletions

View File

@ -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)