Revision 27dbc47c libavformat/nutdec.c

View differences:

libavformat/nutdec.c
897 897
static int nut_read_close(AVFormatContext *s)
898 898
{
899 899
    NUTContext *nut = s->priv_data;
900
    int i;
900 901

  
901 902
    av_freep(&nut->time_base);
902 903
    av_freep(&nut->stream);
904
    av_tree_destroy_free_elem(nut->syncpoints);
905
    for(i = 1; i < nut->header_count; i++)
906
        av_freep(&nut->header[i]);
903 907

  
904 908
    return 0;
905 909
}

Also available in: Unified diff