# HG changeset patch # User reimar # Date 1264254549 0 # Node ID c1cccc058c7a8ae9cb24b999c7f9da75eddeb25b # Parent 1c3a10f94570cdc9e39a9beffe2edf6505ad5b3e Use av_freep intead of av_free to free pointers in vp56 context. diff -r 1c3a10f94570 -r c1cccc058c7a vp56.c --- a/vp56.c Sat Jan 23 10:25:22 2010 +0000 +++ b/vp56.c Sat Jan 23 13:49:09 2010 +0000 @@ -687,9 +687,9 @@ { VP56Context *s = avctx->priv_data; - av_free(s->above_blocks); - av_free(s->macroblocks); - av_free(s->edge_emu_buffer_alloc); + av_freep(&s->above_blocks); + av_freep(&s->macroblocks); + av_freep(&s->edge_emu_buffer_alloc); if (s->framep[VP56_FRAME_GOLDEN]->data[0]) avctx->release_buffer(avctx, s->framep[VP56_FRAME_GOLDEN]); if (s->framep[VP56_FRAME_GOLDEN2]->data[0])