Paul Chitescu : qcap: Initialize to NULL the content of ppPin, not the pointer itself.
Module: wine Branch: master Commit: 84a39b4f636fe84d0470ac60b4182b384842c971 URL: http://source.winehq.org/git/wine.git/?a=commit;h=84a39b4f636fe84d0470ac60b4... Author: Paul Chitescu <paulc(a)voip.null.ro> Date: Wed May 11 04:45:59 2011 +0300 qcap: Initialize to NULL the content of ppPin, not the pointer itself. --- dlls/qcap/vfwcapture.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/qcap/vfwcapture.c b/dlls/qcap/vfwcapture.c index 8997480..1138a64 100644 --- a/dlls/qcap/vfwcapture.c +++ b/dlls/qcap/vfwcapture.c @@ -726,7 +726,7 @@ VfwPin_Construct( IBaseFilter * pBaseFilter, LPCRITICAL_SECTION pCritSec, PIN_INFO piOutput; HRESULT hr; - ppPin = NULL; + *ppPin = NULL; piOutput.dir = PINDIR_OUTPUT; piOutput.pFilter = pBaseFilter;
participants (1)
-
Alexandre Julliard