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

SmartPtr: Fix SRT source memory leaking. v6.0.134 (#4106)

---------

Co-authored-by: john <hondaxiao@tencent.com>
This commit is contained in:
Winlin 2024-07-04 16:08:42 +08:00 committed by GitHub
parent 75ddd8f5b6
commit 20c8e6423b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 1 deletions

View file

@ -1083,6 +1083,9 @@ void SrsSrtSource::on_unpublish()
can_publish_ = true;
SrsStatistic* stat = SrsStatistic::instance();
stat->on_stream_close(req);
if (bridge_) {
frame_builder_->on_unpublish();
srs_freep(frame_builder_);

View file

@ -9,6 +9,6 @@
#define VERSION_MAJOR 6
#define VERSION_MINOR 0
#define VERSION_REVISION 133
#define VERSION_REVISION 134
#endif