indeo3: release buffer in indeo3_decode_end()
Fix leak.
This commit is contained in:
parent
5443812fbc
commit
7f58eb3c2b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user