Revision 6242b1c4 libavcodec/vp56.c

View differences:

libavcodec/vp56.c
687 687
{
688 688
    VP56Context *s = avctx->priv_data;
689 689

  
690
    av_free(s->above_blocks);
691
    av_free(s->macroblocks);
692
    av_free(s->edge_emu_buffer_alloc);
690
    av_freep(&s->above_blocks);
691
    av_freep(&s->macroblocks);
692
    av_freep(&s->edge_emu_buffer_alloc);
693 693
    if (s->framep[VP56_FRAME_GOLDEN]->data[0])
694 694
        avctx->release_buffer(avctx, s->framep[VP56_FRAME_GOLDEN]);
695 695
    if (s->framep[VP56_FRAME_GOLDEN2]->data[0])

Also available in: Unified diff