[PATCH] qcap: Release IBaseFilter.
Andrew Eikum
aeikum at codeweavers.com
Wed Jan 4 07:51:26 CST 2017
This looks OK, but unless it fixes a bug, I'd rather wait until after
code freeze.
Andrew
On Wed, Jan 04, 2017 at 10:55:34AM +0800, Jactry Zeng wrote:
> Signed-off-by: Jactry Zeng <jzeng at codeweavers.com>
> ---
> dlls/qcap/capturegraph.c | 2 ++
> 1 file changed, 2 insertions(+)
>
>
> diff --git a/dlls/qcap/capturegraph.c b/dlls/qcap/capturegraph.c
> index 546b1f84d6..bae75f8372 100644
> --- a/dlls/qcap/capturegraph.c
> +++ b/dlls/qcap/capturegraph.c
> @@ -687,6 +687,7 @@ fnCaptureGraphBuilder2_FindPin(ICaptureGraphBuilder2 * iface,
> if (FAILED(hr))
> {
> WARN("Could not enumerate\n");
> + IBaseFilter_Release(filter);
> return hr;
> }
>
> @@ -720,6 +721,7 @@ fnCaptureGraphBuilder2_FindPin(ICaptureGraphBuilder2 * iface,
> break;
> }
> IEnumPins_Release(enumpins);
> + IBaseFilter_Release(filter);
>
> if (hr != S_OK)
> {
>
>
More information about the wine-patches
mailing list