[vlc-devel] commit: Fix a-few-per-libvlc-instance memory leaks ( Rafaël Carré )
Remi Denis-Courmont
rdenis at simphalempin.com
Fri May 16 12:40:31 CEST 2008
On Fri, 16 May 2008 10:10:29 +0200 (CEST), git at videolan.org (git version
control) wrote:
> diff --git a/src/libvlc.c b/src/libvlc.c
> index 896b930..5290ac8 100644
> --- a/src/libvlc.c
> +++ b/src/libvlc.c
> @@ -945,7 +945,7 @@ int VLC_CleanUp( int i_object )
> stats_HandlerDestroy( p_stats );
> vlc_object_detach( (vlc_object_t*) p_stats );
> vlc_object_release( (vlc_object_t *)p_stats );
> - // TODO: Delete it
> + vlc_object_destroy( p_stats );
> }
I wonder how the hell this is supposed to work. vlc_object_destroy is
static.
--
Rémi
More information about the vlc-devel
mailing list