James Hawkins : ddraw: Set lplpDirect3DViewport3 to NULL before returning an error ( found by Smatch).
Module: wine Branch: master Commit: 1a922b6a3887d89a767af46aef94d7d10acb4ed2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1a922b6a3887d89a767af46aef... Author: James Hawkins <truiken(a)gmail.com> Date: Thu Oct 5 19:57:48 2006 -0700 ddraw: Set lplpDirect3DViewport3 to NULL before returning an error (found by Smatch). --- dlls/ddraw/device.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/ddraw/device.c b/dlls/ddraw/device.c index a8545b4..c728a7a 100644 --- a/dlls/ddraw/device.c +++ b/dlls/ddraw/device.c @@ -903,8 +903,8 @@ IDirect3DDeviceImpl_3_NextViewport(IDire if(!vp) { - return DDERR_INVALIDPARAMS; *lplpDirect3DViewport3 = NULL; + return DDERR_INVALIDPARAMS; }
participants (1)
-
Alexandre Julliard