1
0
Fork 0
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:
winlin 2014-04-16 15:58:06 +08:00
parent 36c2c37b42
commit 0c91fa6bed
5 changed files with 27 additions and 0 deletions

View file

@ -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;
}