[vlc-commits] demux: ogg: clear reordering struct on early stream deletion

Francois Cartegnie git at videolan.org
Wed Mar 12 17:19:58 CET 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Mar 12 17:05:34 2014 +0100| [9839f126e0ebfdf103b63864691ab02f765114fd] | committer: Francois Cartegnie

demux: ogg: clear reordering struct on early stream deletion

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9839f126e0ebfdf103b63864691ab02f765114fd
---

 modules/demux/ogg.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index ea09a3a..840b60d 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -2140,6 +2140,7 @@ static void Ogg_LogicalStreamDelete( demux_t *p_demux, logical_stream_t *p_strea
         block_ChainRelease( p_stream->p_preparse_block );
         p_stream->p_preparse_block = NULL;
     }
+    free( p_stream->p_prepcr_blocks );
 
     free( p_stream );
 }



More information about the vlc-commits mailing list