Commit 36113e6d authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

qedit: Remove redundant "return 0" from Release functions.

parent 501de13b
......@@ -112,7 +112,6 @@ static ULONG WINAPI MediaDet_inner_Release(IUnknown *iface)
{
MD_cleanup(This);
CoTaskMemFree(This);
return 0;
}
return ref;
......
......@@ -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;
}
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment