From 2492b726af2a0f60ff1bc7a951cf5679243861f0 Mon Sep 17 00:00:00 2001 From: winlin Date: Thu, 7 Jan 2021 11:45:03 +0800 Subject: [PATCH] RTC: Fix memory leak --- trunk/src/app/srs_app_rtc_source.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/trunk/src/app/srs_app_rtc_source.cpp b/trunk/src/app/srs_app_rtc_source.cpp index c3f54a353..39696a1ad 100644 --- a/trunk/src/app/srs_app_rtc_source.cpp +++ b/trunk/src/app/srs_app_rtc_source.cpp @@ -483,6 +483,7 @@ void SrsRtcStream::on_unpublish() // release unpublish stream description. set_stream_desc(NULL); + srs_freep(bridger_); // TODO: FIXME: Handle by statistic. }