Revision 42f97696 libavformat/rtpenc_chain.c

View differences:

libavformat/rtpenc_chain.c
66 66
            url_close_dyn_buf(rtpctx->pb, &ptr);
67 67
            av_free(ptr);
68 68
        }
69
        av_free(rtpctx->streams[0]->codec->extradata);
70
        av_free(rtpctx->streams[0]->codec);
71
        av_free(rtpctx->streams[0]->info);
72
        av_free(rtpctx->streams[0]);
73
        av_free(rtpctx);
69
        avformat_free_context(rtpctx);
74 70
        return NULL;
75 71
    }
76 72

  

Also available in: Unified diff