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/pthread_frame: Fix memleak of AVCodecContext on error
Fixes CID1135767 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Michael Niedermayer
12 years ago
parent
81ed7efbe2
commit
11679e1b90
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavcodec/pthread_frame.c
+ 1
- 0
libavcodec/pthread_frame.c
View File
@@ -650,6 +650,7 @@ int ff_frame_thread_init(AVCodecContext *avctx)
p->frame = av_frame_alloc();
if (!p->frame) {
err = AVERROR(ENOMEM);
av_freep(©);
goto error;
}
Write
Preview
Loading…
Cancel
Save