Commit 5c2b06f2 authored by Laurent Aimar's avatar Laurent Aimar

* stream_output.c: delete meta informations after the stream out chain.

parent d88930e7
...@@ -161,16 +161,19 @@ void sout_DeleteInstance( sout_instance_t * p_sout ) ...@@ -161,16 +161,19 @@ void sout_DeleteInstance( sout_instance_t * p_sout )
/* Unlink object */ /* Unlink object */
vlc_object_detach( p_sout ); vlc_object_detach( p_sout );
/* remove the stream out chain */
sout_stream_delete( p_sout->p_stream );
/* *** free all string *** */ /* *** free all string *** */
FREE( p_sout->psz_sout ); FREE( p_sout->psz_sout );
FREE( p_sout->psz_chain ); FREE( p_sout->psz_chain );
/* delete meta */
if( p_sout->p_meta ) if( p_sout->p_meta )
{ {
vlc_meta_Delete( p_sout->p_meta ); vlc_meta_Delete( p_sout->p_meta );
} }
sout_stream_delete( p_sout->p_stream );
vlc_mutex_destroy( &p_sout->lock ); vlc_mutex_destroy( &p_sout->lock );
/* *** free structure *** */ /* *** free structure *** */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment