[Bug 6587] New: Missing COM interface Release call in the IGraphBuilder implementation

Wine Bugs wine-bugs at winehq.org
Thu Nov 2 09:47:32 CST 2006


http://bugs.winehq.org/show_bug.cgi?id=6587

           Summary: Missing COM interface Release call in the IGraphBuilder
                    implementation
           Product: Wine
           Version: 0.9.24.
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-directx-dshow
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: linine at freesurf.ch


Hello. When looking at the quartz.dll sources noticed in the filtergraph.c the
following:

static HRESULT WINAPI GraphBuilder_Connect(IGraphBuilder *iface,
					   IPin *ppinOut,
					   IPin *ppinIn) 
{
...

    hr = IPin_QueryPinInfo(ppinIn, &PinInfo); // line 695 - DL
    if (FAILED(hr))
       return hr;

    hr = IBaseFilter_GetClassID(PinInfo.pFilter, &FilterCLSID);
    if (FAILED(hr)) // if it fails
       return hr; // the function will return without releasing the filter
pointed by PinInfo.pFilter - DL
     

...
}

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list