mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix dvr mem leak, free msg when not use it.
This commit is contained in:
parent
36c2c37b42
commit
0c91fa6bed
5 changed files with 27 additions and 0 deletions
|
@ -79,6 +79,7 @@ int SrsEncoder::on_publish(SrsRequest* req)
|
|||
srs_error("st_thread_create failed. ret=%d", ret);
|
||||
return ret;
|
||||
}
|
||||
srs_trace("encoder thread cid=%d, current_cid=%d", pthread->cid(), _srs_context->get_id());
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue