Commit 97773f13 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix memory leak

parent a353bd1b
...@@ -124,6 +124,7 @@ static int Open( vlc_object_t * p_this ) ...@@ -124,6 +124,7 @@ static int Open( vlc_object_t * p_this )
/* Load the headers */ /* Load the headers */
if( DemuxInit( p_demux ) ) if( DemuxInit( p_demux ) )
{ {
free( p_sys );
return VLC_EGENERIC; return VLC_EGENERIC;
} }
return VLC_SUCCESS; return VLC_SUCCESS;
......
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