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

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2016-04-27 23:12:54 -06:00 committed by Alexandre Julliard
parent 501de13b6c
commit 36113e6ded
3 changed files with 0 additions and 6 deletions

View File

@ -112,7 +112,6 @@ static ULONG WINAPI MediaDet_inner_Release(IUnknown *iface)
{
MD_cleanup(This);
CoTaskMemFree(This);
return 0;
}
return ref;

View File

@ -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;
}

View File

@ -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;
}