1
0
Fork 0
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:
ChenGH 2022-11-21 23:49:38 +08:00 committed by GitHub
parent 6fa17aa3f8
commit 6b130d4205
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 2 deletions

View file

@ -235,6 +235,8 @@ void SrsHybridServer::stop()
ISrsHybridServer* server = *it;
server->stop();
}
srs_st_destroy();
}
SrsServerAdapter* SrsHybridServer::srs()