avcodec/truemotion2: Replace av_free() by av_freep() in AVCodec.close
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
992adc8aaf
commit
9eb22ca804
@ -1016,8 +1016,8 @@ static av_cold int decode_end(AVCodecContext *avctx)
|
|||||||
TM2Context * const l = avctx->priv_data;
|
TM2Context * const l = avctx->priv_data;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
av_free(l->last);
|
av_freep(&l->last);
|
||||||
av_free(l->clast);
|
av_freep(&l->clast);
|
||||||
for (i = 0; i < TM2_NUM_STREAMS; i++)
|
for (i = 0; i < TM2_NUM_STREAMS; i++)
|
||||||
av_freep(&l->tokens[i]);
|
av_freep(&l->tokens[i]);
|
||||||
if (l->Y1) {
|
if (l->Y1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user