diff options
Diffstat (limited to 'libavcodec/libutvideoenc.cpp')
-rw-r--r-- | libavcodec/libutvideoenc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/libutvideoenc.cpp b/libavcodec/libutvideoenc.cpp index 3298e64350..3deb1c7a58 100644 --- a/libavcodec/libutvideoenc.cpp +++ b/libavcodec/libutvideoenc.cpp @@ -100,6 +100,7 @@ static av_cold int utvideo_encode_init(AVCodecContext *avctx) if (utv->buffer == NULL) { av_log(avctx, AV_LOG_ERROR, "Could not allocate output buffer.\n"); + av_free(info); return AVERROR(ENOMEM); } |