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

Micro changes and refines.

This commit is contained in:
winlin 2022-09-30 17:57:48 +08:00
parent 173c683566
commit 378bffa34f
20 changed files with 110 additions and 119 deletions

View file

@ -142,7 +142,7 @@ void SrsAppCasterFlv::remove(ISrsResource* c)
std::vector<ISrsConnection*>::iterator it;
if ((it = std::find(conns.begin(), conns.end(), conn)) != conns.end()) {
conns.erase(it);
it = conns.erase(it);
}
// fixbug: ISrsConnection for CasterFlv is not freed, which could cause memory leak