Commit 78e426da authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

packetizer:copy: fix a leak on error

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent ea015030
......@@ -116,6 +116,7 @@ static int Open( vlc_object_t *p_this )
if( !fcc )
{
msg_Err( p_dec, "unknown raw audio sample size" );
free( p_sys );
return VLC_EGENERIC;
}
p_dec->fmt_out.i_codec = fcc;
......
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