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

BugFix: Resolve the problem of srs_error_t memory leak. v5.0.163, v6.0.57 (#3605)

---------

Co-authored-by: Haibo Chen <495810242@qq.com>
Co-authored-by: chundonglinlin <chundonglinlin@163.com>
This commit is contained in:
wangzhen 2023-07-01 18:46:59 +08:00 committed by winlin
parent 3955d3fe55
commit 17f0d1fefc
5 changed files with 12 additions and 10 deletions

View file

@ -737,6 +737,7 @@ void SrsDvrSessionPlan::on_unpublish()
srs_error_t err = segment->close();
if (err != srs_success) {
srs_warn("ignore flv close error %s", srs_error_desc(err).c_str());
srs_error_reset(err);
}
dvr_enabled = false;