From: Howard Chu Date: Wed, 23 Dec 2015 17:53:34 +0000 (+0000) Subject: Fix issue 2/7 from LMX of Qihoo 360 Codesafe Team X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f3042b5bb7dcb42eda32ad9dd88029b24a2c282b;p=rtmpdump Fix issue 2/7 from LMX of Qihoo 360 Codesafe Team Obsolete RTMPPacket_Free() call left over from original C++ to C rewrite --- diff --git a/librtmp/rtmp.c b/librtmp/rtmp.c index ca7db6a..d3c4715 100644 --- a/librtmp/rtmp.c +++ b/librtmp/rtmp.c @@ -3643,7 +3643,6 @@ RTMP_ReadPacket(RTMP *r, RTMPPacket *packet) { packet->m_nBodySize = AMF_DecodeInt24(header + 3); packet->m_nBytesRead = 0; - RTMPPacket_Free(packet); if (nSize > 6) {