[vlc-devel] [PATCH] transform: inline error handling
Rémi Denis-Courmont
remi at remlab.net
Fri Jan 8 09:29:45 UTC 2021
Le perjantaina 8. tammikuuta 2021, 11.19.38 EET Steve Lhomme a écrit :
> On 2021-01-08 10:16, Alexandre Janniaux wrote:
> > Hi,
> >
> > On Fri, Jan 08, 2021 at 07:40:11AM +0100, Steve Lhomme wrote:
> >> On 2021-01-07 16:51, Alexandre Janniaux wrote:
> >>> ...and remove useless error label. The resources are released by the
> >>> vlc_objres mechanism already.
> >>
> >> Did you check all possible ways to create filters do release resources on
> >> Open error ? If so this should be done in other filters as well.
> >
> > I don't understand, this patch is local to the transform filter.
> > I don't change anything outside of it, and have checked that the
> > objres release is actually done (which it is, through module_need).
>
> So you understand that the key for this patch to work is that
> module_need calls do the cleaning.
And? All this patch does is replace an explicit (objres) free with an implicit
objres free. As Alexandre already pointed out, it has no bearing on other
modules.
It's not even a bugfix, just a clean-up.
--
レミ・デニ-クールモン
http://www.remlab.net/
More information about the vlc-devel
mailing list