oggdec: free the ogg streams on read_header failure
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 4 Jan 2013 14:44:02 +0000 (15:44 +0100)
committerReinhard Tartler <siretart@tauware.de>
Sat, 12 Jan 2013 16:59:41 +0000 (17:59 +0100)
commit03fec31cd76f1b9eb980d4e422e569d95cad326c
tree0f1440fa6c8a336071b6732e80eee6302a912e98
parent6eebba08e1888371637c2f86878130f9e7a30732
oggdec: free the ogg streams on read_header failure

Plug an annoying memory leak on broken files.
(cherry picked from commit 89b51b570daa80e6e3790fcd449fe61fc5574e07)

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit 42bd6d9cf681306d14c92af97a40116fe4eb2522)

Conflicts:

libavformat/oggdec.c
libavformat/oggdec.c