1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 03:11:53 +00:00

Fix #2606: Memory leak for RTMP client, pick from 4.0. v3.0.170

This commit is contained in:
winlin 2020-06-28 16:58:14 +08:00
parent b4220ee7c1
commit e801174ab2
3 changed files with 3 additions and 1 deletions

View file

@ -130,6 +130,7 @@ Other important wiki:
## V3 changes
* v3.0, 2021-10-08, Fix [#2606](https://github.com/ossrs/srs/issues/2606): Memory leak for RTMP client, pick from 4.0. v3.0.170
* <strong>v3.0, 2021-08-14, [3.0 release8(3.0.168)](https://github.com/ossrs/srs/releases/tag/v3.0-r8) released. 124469 lines.</strong>
* <strong>v3.0, 2021-07-04, [3.0 release7(3.0.164)](https://github.com/ossrs/srs/releases/tag/v3.0-r7) released. 123463 lines.</strong>
* v3.0, 2021-07-04, For [#2424](https://github.com/ossrs/srs/issues/2424), use srandom/random to generate. 3.0.164

View file

@ -24,6 +24,6 @@
#ifndef SRS_CORE_VERSION3_HPP
#define SRS_CORE_VERSION3_HPP
#define SRS_VERSION3_REVISION 169
#define SRS_VERSION3_REVISION 170
#endif

View file

@ -57,6 +57,7 @@ SrsBasicRtmpClient::~SrsBasicRtmpClient()
close();
srs_freep(kbps);
srs_freep(clk);
srs_freep(req);
}
srs_error_t SrsBasicRtmpClient::connect()