Commit 1a922b6a authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

ddraw: Set lplpDirect3DViewport3 to NULL before returning an error (found by Smatch).

parent 553bafd5
......@@ -903,8 +903,8 @@ IDirect3DDeviceImpl_3_NextViewport(IDirect3DDevice3 *iface,
if(!vp)
{
return DDERR_INVALIDPARAMS;
*lplpDirect3DViewport3 = NULL;
return DDERR_INVALIDPARAMS;
}
......
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