This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avcodec/mjpegdec Fix potential memleak of stereo3D at the end in case of decoding failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Michael Niedermayer
12 years ago
parent
e9e7e68516
commit
ed56c021e7
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavcodec/mjpegdec.c
+ 1
- 0
libavcodec/mjpegdec.c
View File
@@ -2091,6 +2091,7 @@ av_cold int ff_mjpeg_decode_end(AVCodecContext *avctx)
av_frame_unref(s->picture_ptr);
av_free(s->buffer);
av_freep(&s->stereo3d);
av_freep(&s->ljpeg_buffer);
s->ljpeg_buffer_size = 0;
Write
Preview
Loading…
Cancel
Save