Paul Chitescu : qcap: Initialize to NULL the content of ppPin, not the pointer itself.

Alexandre Julliard julliard at winehq.org
Wed May 11 13:02:56 CDT 2011


Module: wine
Branch: master
Commit: 84a39b4f636fe84d0470ac60b4182b384842c971
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=84a39b4f636fe84d0470ac60b4182b384842c971

Author: Paul Chitescu <paulc at 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;




More information about the wine-cvs mailing list