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:
parent
75ddd8f5b6
commit
20c8e6423b
4 changed files with 7 additions and 1 deletions
2
trunk/3rdparty/srs-bench/README.md
vendored
2
trunk/3rdparty/srs-bench/README.md
vendored
|
@ -33,6 +33,8 @@ cd srs/trunk && ./configure --h265=on --gb28181=on && make &&
|
||||||
./objs/srs -c conf/console.conf
|
./objs/srs -c conf/console.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> Note: Use valgrind to check memory leak, please use `valgrind --leak-check=full ./objs/srs -c conf/console.conf >/dev/null` to start SRS.
|
||||||
|
|
||||||
具体场景,请按下面的操作启动测试。
|
具体场景,请按下面的操作启动测试。
|
||||||
|
|
||||||
## Player for WHEP
|
## Player for WHEP
|
||||||
|
|
|
@ -7,6 +7,7 @@ The changelog for SRS.
|
||||||
<a name="v6-changes"></a>
|
<a name="v6-changes"></a>
|
||||||
|
|
||||||
## SRS 6.0 Changelog
|
## SRS 6.0 Changelog
|
||||||
|
* v6.0, 2024-07-04, Merge [#4106](https://github.com/ossrs/srs/pull/4106): SmartPtr: Fix SRT source memory leaking. v6.0.134 (#4106)
|
||||||
* v6.0, 2024-06-29, Merge [#4077](https://github.com/ossrs/srs/pull/4077): Fix misspelling error in app config. v6.0.133 (#4077)
|
* v6.0, 2024-06-29, Merge [#4077](https://github.com/ossrs/srs/pull/4077): Fix misspelling error in app config. v6.0.133 (#4077)
|
||||||
* v6.0, 2024-06-29, Merge [#4102](https://github.com/ossrs/srs/pull/4102): SmartPtr: Support detect memory leak by valgrind. v6.0.132 (#4102)
|
* v6.0, 2024-06-29, Merge [#4102](https://github.com/ossrs/srs/pull/4102): SmartPtr: Support detect memory leak by valgrind. v6.0.132 (#4102)
|
||||||
* v6.0, 2024-06-21, Merge [#4100](https://github.com/ossrs/srs/pull/4100): Fix security scan problems. v6.0.131 (#4100)
|
* v6.0, 2024-06-21, Merge [#4100](https://github.com/ossrs/srs/pull/4100): Fix security scan problems. v6.0.131 (#4100)
|
||||||
|
|
|
@ -1083,6 +1083,9 @@ void SrsSrtSource::on_unpublish()
|
||||||
|
|
||||||
can_publish_ = true;
|
can_publish_ = true;
|
||||||
|
|
||||||
|
SrsStatistic* stat = SrsStatistic::instance();
|
||||||
|
stat->on_stream_close(req);
|
||||||
|
|
||||||
if (bridge_) {
|
if (bridge_) {
|
||||||
frame_builder_->on_unpublish();
|
frame_builder_->on_unpublish();
|
||||||
srs_freep(frame_builder_);
|
srs_freep(frame_builder_);
|
||||||
|
|
|
@ -9,6 +9,6 @@
|
||||||
|
|
||||||
#define VERSION_MAJOR 6
|
#define VERSION_MAJOR 6
|
||||||
#define VERSION_MINOR 0
|
#define VERSION_MINOR 0
|
||||||
#define VERSION_REVISION 133
|
#define VERSION_REVISION 134
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue