Revision 00a3431c

View differences:

libavformat/matroskadec.c
1304 1304
            av_free_packet(matroska->packets[n]);
1305 1305
            av_free(matroska->packets[n]);
1306 1306
        }
1307
        av_free(matroska->packets);
1308
        matroska->packets = NULL;
1307
        av_freep(&matroska->packets);
1309 1308
        matroska->num_packets = 0;
1310 1309
    }
1311 1310
}

Also available in: Unified diff