Revert f3042b5bb7dcb42eda32ad9dd88029b24a2c282b
commitb59c7926aff3271ff0fe85ac46c6ca390dc81000
authorHoward Chu <hyc@highlandsun.com>
Wed, 28 Feb 2024 14:41:01 +0000 (28 14:41 +0000)
committerHoward Chu <hyc@highlandsun.com>
Wed, 28 Feb 2024 14:41:01 +0000 (28 14:41 +0000)
tree4f6a548c714df90d918c78fd4282a1b93599578d
parent06142d3ef4754c9ebd6c4c5f52c858aa63811161
Revert f3042b5bb7dcb42eda32ad9dd88029b24a2c282b

Fix was incorrect. RTMPPacket_Free() is needed to prevent using
the old m_body buffer with the new m_nBodySize. Actual fix is to
prevent double-free in RTMP_Close by cleaaring m_body in vec array.
librtmp/rtmp.c