diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index a34020b092..4095ae9421 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -2925,10 +2925,6 @@ reconnect: return 0; fail: - av_freep(&rt->playpath); - av_freep(&rt->tcurl); - av_freep(&rt->flashver); - av_dict_free(opts); rtmp_close(s); return ret; }