Commit ad0cf8e0 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'ac4a5e3a'

* commit 'ac4a5e3a':
  pthreads_frame: Do not leak on failure path

See: 11679e1bMerged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents f6637347 ac4a5e3a
......@@ -651,8 +651,8 @@ int ff_frame_thread_init(AVCodecContext *avctx)
p->frame = av_frame_alloc();
if (!p->frame) {
err = AVERROR(ENOMEM);
av_freep(&copy);
err = AVERROR(ENOMEM);
goto error;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment