Revision ebb82604 libavformat/utils.c

View differences:

libavformat/utils.c
499 499
    av_freep(&pd->buf);
500 500
    if (pb)
501 501
        url_fclose(pb);
502
    av_freep(ic_ptr);
502
    if (ap && ap->prealloced_context)
503
        av_free(*ic_ptr);
504
    *ic_ptr = NULL;
503 505
    return err;
504 506

  
505 507
}

Also available in: Unified diff