Remove mask picture_t leak.
authorAntoine Cellerier <dionoea@videolan.org>
Wed, 4 Apr 2007 20:37:28 +0000 (20:37 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Wed, 4 Apr 2007 20:37:28 +0000 (20:37 +0000)
modules/stream_out/mosaic_bridge.c

index a80dc22..da7e264 100644 (file)
@@ -254,6 +254,9 @@ static void Close( vlc_object_t * p_this )
     if ( p_sys->psz_id )
         free( p_sys->psz_id );
 
+    if( p_stream->p_sys->p_mask )
+        p_stream->p_sys->p_mask->pf_release( p_stream->p_sys->p_mask );
+
     free( p_sys );
 }