segafilm: fix leaks if reading the header fails
authorAnton Khirnov <anton@khirnov.net>
Thu, 28 Nov 2013 09:54:35 +0000 (10:54 +0100)
committerReinhard Tartler <siretart@tauware.de>
Sun, 2 Feb 2014 17:44:20 +0000 (12:44 -0500)
commit6a56d16dc1368b9fe2ac5667c898684be3045d2e
tree35bfc6c927afc18097e2039ecb5084d105777e6e
parent23144c5f060de1863859308eab4bc888b817840c
segafilm: fix leaks if reading the header fails

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
(cherry picked from commit 6892d145a0c80249bd61ee7dd31ec851c5076bcd)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit f728782c0d30433efa11f1238a16aed994e9b563)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Conflicts:
libavformat/segafilm.c
libavformat/segafilm.c