From c5f7a90a68e7fbc15ebf04b5097d28ab58cd7396 Mon Sep 17 00:00:00 2001 From: winlin Date: Thu, 10 Sep 2020 17:49:10 +0800 Subject: [PATCH] RTC: Fix bug --- trunk/src/app/srs_app_rtc_conn.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/trunk/src/app/srs_app_rtc_conn.cpp b/trunk/src/app/srs_app_rtc_conn.cpp index c9475a185..298171324 100644 --- a/trunk/src/app/srs_app_rtc_conn.cpp +++ b/trunk/src/app/srs_app_rtc_conn.cpp @@ -390,6 +390,7 @@ SrsRtcPlayStream::~SrsRtcPlayStream() { _srs_config->unsubscribe(this); + srs_freep(nack_epp); srs_freep(pli_worker_); srs_freep(trd); srs_freep(timer_); @@ -408,8 +409,6 @@ SrsRtcPlayStream::~SrsRtcPlayStream() srs_freep(it->second); } } - - srs_freep(nack_epp); } srs_error_t SrsRtcPlayStream::initialize(SrsRequest* req, std::map sub_relations)