truemotion1: use av_freep()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2013-08-23 23:12:42 +00:00
parent 5cc8b81687
commit 83b915d495

View File

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