mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Asan: Try to fix st_memory_leak for asan check (#3264)
* asan: try to fix st_memory_leak for asan check * asan: srs_st_unit should be call in hybrid server stop * Rename st_uninit to st_destroy. v5.0.91 Co-authored-by: winlin <winlin@vip.126.com>
This commit is contained in:
parent
6fa17aa3f8
commit
6b130d4205
5 changed files with 12 additions and 2 deletions
|
|
@ -76,6 +76,11 @@ srs_error_t srs_st_init()
|
|||
return srs_success;
|
||||
}
|
||||
|
||||
void srs_st_destroy(void)
|
||||
{
|
||||
st_destroy();
|
||||
}
|
||||
|
||||
void srs_close_stfd(srs_netfd_t& stfd)
|
||||
{
|
||||
if (stfd) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue