diff --git a/README.md b/README.md index 1cdd78f68..d79011e3b 100755 --- a/README.md +++ b/README.md @@ -146,6 +146,7 @@ For previous versions, please read: ## V3 changes +* v3.0, 2019-12-27, For [#1544][bug #1544], fix memory leaking for complex error. 3.0.87 * v3.0, 2019-12-27, Add links for flv.js, hls.js and dash.js. * v3.0, 2019-12-26, For [#1105][bug #1105], http server support mp4 range. * v3.0, 2019-12-26, For [#1105][bug #1105], dvr mp4 supports playing on Chrome/Safari/Firefox. 3.0.86 @@ -1569,6 +1570,7 @@ Winlin [bug #1538]: https://github.com/ossrs/srs/issues/1538 [bug #1282]: https://github.com/ossrs/srs/issues/1282 [bug #1105]: https://github.com/ossrs/srs/issues/1105 +[bug #1544]: https://github.com/ossrs/srs/issues/1544 [bug #xxxxxxxxxxxxx]: https://github.com/ossrs/srs/issues/xxxxxxxxxxxxx [exo #828]: https://github.com/google/ExoPlayer/pull/828 diff --git a/trunk/src/core/srs_core.hpp b/trunk/src/core/srs_core.hpp index b43971a5b..ad8d84e6e 100644 --- a/trunk/src/core/srs_core.hpp +++ b/trunk/src/core/srs_core.hpp @@ -27,7 +27,7 @@ // The version config. #define VERSION_MAJOR 3 #define VERSION_MINOR 0 -#define VERSION_REVISION 86 +#define VERSION_REVISION 87 // The macros generated by configure script. #include diff --git a/trunk/src/kernel/srs_kernel_error.cpp b/trunk/src/kernel/srs_kernel_error.cpp index 57f8c25c7..93c0b47e2 100644 --- a/trunk/src/kernel/srs_kernel_error.cpp +++ b/trunk/src/kernel/srs_kernel_error.cpp @@ -62,6 +62,7 @@ SrsCplxError::SrsCplxError() SrsCplxError::~SrsCplxError() { + srs_freep(wrapped); } std::string SrsCplxError::description() {