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

demux:ts_sl: fix potential leak

If es_format_IsSimilar() is true we have an initialized es_format_t with extra
data that is never cleaned.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent f32a5d8a
......@@ -181,6 +181,8 @@ void SLPackets_Section_Handler( demux_t *p_demux,
p_es->id = es_out_Add( p_demux->out, &p_es->fmt );
b_changed = true;
}
else
es_format_Clean( &fmt );
}
}
......
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