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:
parent
47422b7819
commit
2492b726af
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue