[vlc-devel] commit: playlist: Correctly decref where we use the object. (Pierre d' Herbemont )
Rafaël Carré
funman at videolan.org
Tue Apr 1 21:58:35 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le Tue, 1 Apr 2008 21:45:49 +0200 (CEST),
git at videolan.org (git version control) a écrit :
> vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org>
> | Tue Apr 1 21:44:33 2008 +0200|
> [800b605ec18ae513c70ab69484455cdeaf7fc3a8]
>
> playlist: Correctly decref where we use the object.
>
> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=800b605ec18ae513c70ab69484455cdeaf7fc3a8
> ---
>
> src/playlist/engine.c | 2 --
> src/playlist/loadsave.c | 1 +
> 2 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/src/playlist/engine.c b/src/playlist/engine.c
> index 0529d75..daf6d22 100644
> --- a/src/playlist/engine.c
> +++ b/src/playlist/engine.c
> @@ -398,8 +398,6 @@ check_input:
>
> static void ML_Decref( playlist_item_t *p_node )
> {
> - vlc_gc_decref( p_node->p_input );
> -
> int i;
> if( p_node->i_children > 0 )
> for( i = 0 ; i < p_node->i_children ; i++ )
What's this function useful for now ?
- --
Rafaël Carré
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.8 (FreeBSD)
iEYEARECAAYFAkfyk+0ACgkQYWCeGMCv8Q9YPQCg5H4hNjC1QGh4pSTK+G15xlRE
0cQAnA49nveIy+OjudgF/kaENSTxlt+u
=VnT1
-----END PGP SIGNATURE-----
More information about the vlc-devel
mailing list