indeo3: release buffer in indeo3_decode_end()

Fix leak.
This commit is contained in:
Stefano Sabatini 2011-05-17 13:01:21 +02:00
parent 5443812fbc
commit 7f58eb3c2b

View File

@ -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;
}