diff --git a/dlls/qedit/mediadet.c b/dlls/qedit/mediadet.c index 53ab75a164b..b7a5abb80ca 100644 --- a/dlls/qedit/mediadet.c +++ b/dlls/qedit/mediadet.c @@ -112,7 +112,6 @@ static ULONG WINAPI MediaDet_inner_Release(IUnknown *iface) { MD_cleanup(This); CoTaskMemFree(This); - return 0; } return ref; diff --git a/dlls/qedit/samplegrabber.c b/dlls/qedit/samplegrabber.c index 946dba9dfa6..e3f387be9ea 100644 --- a/dlls/qedit/samplegrabber.c +++ b/dlls/qedit/samplegrabber.c @@ -92,7 +92,6 @@ static ULONG WINAPI Single_IEnumMediaTypes_Release(IEnumMediaTypes *iface) if (This->mtype.pbFormat) CoTaskMemFree(This->mtype.pbFormat); CoTaskMemFree(This); - return 0; } return refCount; } @@ -335,7 +334,6 @@ static ULONG WINAPI SampleGrabber_Release(IUnknown *iface) { SampleGrabber_cleanup(This); CoTaskMemFree(This); - return 0; } return ref; } diff --git a/dlls/qedit/timeline.c b/dlls/qedit/timeline.c index 8293c8f1694..906efd5fd7a 100644 --- a/dlls/qedit/timeline.c +++ b/dlls/qedit/timeline.c @@ -106,10 +106,7 @@ static ULONG WINAPI Timeline_Release(IUnknown *iface) TRACE("(%p) new ref = %u\n", This, ref); if (ref == 0) - { CoTaskMemFree(This); - return 0; - } return ref; }