Commit e6a6bf4c authored by Rémi Duraffort's avatar Rémi Duraffort

Fix memleak.

parent 8f6357b2
...@@ -1014,6 +1014,7 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt ) ...@@ -1014,6 +1014,7 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
{ {
id->psz_enc = "MP2P"; id->psz_enc = "MP2P";
} }
free( psz );
} }
else else
switch( p_fmt->i_codec ) switch( p_fmt->i_codec )
......
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