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:
parent
173c683566
commit
378bffa34f
20 changed files with 110 additions and 119 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue