[FFmpeg-devel] [PATCH] rm: fix memory leak on init failure

Michael Niedermayer michaelni at gmx.at
Sat Jan 10 00:35:22 CET 2015

On Fri, Jan 09, 2015 at 09:24:54PM +0100, wm4 wrote:
> AVInputFormat.read_close is not called if AVInputFormat.read_header
> fails, so this needs to be handled separately.
> ---
>  libavformat/rmdec.c | 19 ++++++++++++++-----
>  1 file changed, 14 insertions(+), 5 deletions(-)



Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150110/815ef9ca/attachment.asc>

More information about the ffmpeg-devel mailing list