ddraw: Set lplpDirect3DViewport3 to NULL before returning an error (found by Smatch).
This commit is contained in:
parent
553bafd535
commit
1a922b6a38
|
@ -903,8 +903,8 @@ IDirect3DDeviceImpl_3_NextViewport(IDirect3DDevice3 *iface,
|
|||
|
||||
if(!vp)
|
||||
{
|
||||
return DDERR_INVALIDPARAMS;
|
||||
*lplpDirect3DViewport3 = NULL;
|
||||
return DDERR_INVALIDPARAMS;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue