truemotion1: use av_freep()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
5cc8b81687
commit
83b915d495
@ -891,7 +891,7 @@ static av_cold int truemotion1_decode_end(AVCodecContext *avctx)
|
||||
TrueMotion1Context *s = avctx->priv_data;
|
||||
|
||||
av_frame_unref(&s->frame);
|
||||
av_free(s->vert_pred);
|
||||
av_freep(&s->vert_pred);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user