oggdec: free the ogg streams on read_header failure
authorReinhard Tartler <siretart@tauware.de>
Sat, 12 Jan 2013 18:36:27 +0000 (19:36 +0100)
committerReinhard Tartler <siretart@tauware.de>
Sat, 12 Jan 2013 18:36:27 +0000 (19:36 +0100)
commit3bc9cfe66e1a34c6d9dc45fde2a44aa38e6363ce
treef3284ed8ac1aa605db891e2e740199066dd5efde
parent910c1f2352830f1c0e7505cc96c77eac556df083
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

Conflicts:

libavformat/oggdec.c
libavformat/oggdec.c