1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

RTC: Fix memory leak

This commit is contained in:
winlin 2021-01-07 11:45:03 +08:00
parent 47422b7819
commit 2492b726af

View file

@ -483,6 +483,7 @@ void SrsRtcStream::on_unpublish()
// release unpublish stream description. // release unpublish stream description.
set_stream_desc(NULL); set_stream_desc(NULL);
srs_freep(bridger_);
// TODO: FIXME: Handle by statistic. // TODO: FIXME: Handle by statistic.
} }