mpegts: Fix potential memory leak in mpegts_read_packet()
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 8 Sep 2012 02:32:25 +0000 (04:32 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 8 Sep 2012 03:21:47 +0000 (05:21 +0200)
commit5710dbf88cd56e7fbee7ad70240f92fe82ce6566
treea49ec513fdd3180aad43b836b84f3a3f221dd4e9
parent9a27fd12f3bb389db6ea17127b268dfbba74dbc3
mpegts: Fix potential memory leak in mpegts_read_packet()

This leak can happen in case of some error paths.

Found-by: Tanami, Ohad
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mpegts.c