[vlc-devel] commit: Debug code to prevent FIND_PARENT from crashing. ( Rémi Denis-Courmont )

Rémi Denis-Courmont rdenis at simphalempin.com
Wed May 14 22:02:01 CEST 2008

Le Wednesday 14 May 2008 22:37:19 Pierre d'Herbemont, vous avez écrit :
> On May 14, 2008, at 9:10 PM, Rémi Denis-Courmont wrote:
> > However, if the object type uses reference counting as an automatic
> > object
> > cleanup procedure, there is no way to ensure that the object being
> > destroyed
> > has no children.
> Well, currently it may simply do a vlc_object_release() on its
> children from the destructor. (or a vlc_object_detach() on them).
> But I am not sure that it's done safely in most cases.

Ah ok, you meant NOT using pp_children, but through other means.
Yeah, that should work properly.

Rémi Denis-Courmont

More information about the vlc-devel mailing list