Gerald Pfeifer : quartz: Properly set a parameter by reference in Parser_OutputPin_DecideAllocator.

Alexandre Julliard julliard at winehq.org
Tue Apr 5 11:23:30 CDT 2011


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Tue Apr  5 00:48:01 2011 +0200

quartz: Properly set a parameter by reference in Parser_OutputPin_DecideAllocator.

---

 dlls/quartz/parser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/quartz/parser.c b/dlls/quartz/parser.c
index 354d78f..9d7baa0 100644
--- a/dlls/quartz/parser.c
+++ b/dlls/quartz/parser.c
@@ -582,7 +582,7 @@ static HRESULT WINAPI Parser_OutputPin_DecideAllocator(BaseOutputPin *iface, IMe
     Parser_OutputPin *This = (Parser_OutputPin *)iface;
     HRESULT hr;
 
-    pAlloc = NULL;
+    *pAlloc = NULL;
 
     if (This->alloc)
         hr = IMemInputPin_NotifyAllocator(pPin, This->alloc, This->readonly);




More information about the wine-cvs mailing list