diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-17 13:01:21 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-20 09:34:57 +0200 |
commit | 7f58eb3c2b552f232905731b5944307e72c590a0 (patch) | |
tree | fbd22972d25fe094abaa60758d343cab94c582ae /libavcodec/indeo3.c | |
parent | 5443812fbcc7c12f783c1328539232cb3bcde9e1 (diff) | |
download | ffmpeg-7f58eb3c2b552f232905731b5944307e72c590a0.tar.gz |
indeo3: release buffer in indeo3_decode_end()
Fix leak.
Diffstat (limited to 'libavcodec/indeo3.c')
-rw-r--r-- | libavcodec/indeo3.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/indeo3.c b/libavcodec/indeo3.c index 7a648cd3f3..b74fcf7c22 100644 --- a/libavcodec/indeo3.c +++ b/libavcodec/indeo3.c @@ -1137,6 +1137,9 @@ static av_cold int indeo3_decode_end(AVCodecContext *avctx) iv_free_func(s); + if (s->frame.data[0]) + avctx->release_buffer(avctx, &s->frame); + return 0; } |