On Tue, Apr 21, 2015 at 1:44 PM, Luca Barbato <[email protected]> wrote:
> ---
>  libavcodec/utils.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/libavcodec/utils.c b/libavcodec/utils.c
> index f1acd78..7740147 100644
> --- a/libavcodec/utils.c
> +++ b/libavcodec/utils.c
> @@ -727,6 +727,7 @@ do {                                                      
>               \
>      ref_out = av_buffer_create(data, data_size, compat_release_buffer,  \
>                                 dummy_ref, 0);                           \
>      if (!ref_out) {                                                     \
> +        av_buffer_unref(&dummy_ref);                                    \
>          av_frame_unref(frame);                                          \
>          ret = AVERROR(ENOMEM);                                          \
>          goto fail;                                                      \
> --

Probably ok.

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

Reply via email to