On Wed, Oct 29, 2014 at 8:51 PM, Vittorio Giovara
<[email protected]> wrote:
> From: Luca Barbato <[email protected]>
>
> CC: [email protected]
> Bug-Id: CID 1135767
> ---
>  libavcodec/pthread_frame.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c
> index 15bd694..f25dde2 100644
> --- a/libavcodec/pthread_frame.c
> +++ b/libavcodec/pthread_frame.c
> @@ -601,6 +601,7 @@ int ff_frame_thread_init(AVCodecContext *avctx)
>
>          p->frame = av_frame_alloc();
>          if (!p->frame) {
> +            av_free(copy);
>              err = AVERROR(ENOMEM);
>              goto error;
>          }
> --
> 1.9.3 (Apple Git-50)
>

ping

-- 
Vittorio
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to