Fix issue 2/7 from LMX of Qihoo 360 Codesafe Team
authorHoward Chu <hyc@highlandsun.com>
Wed, 23 Dec 2015 17:53:34 +0000 (17:53 +0000)
committerHoward Chu <hyc@highlandsun.com>
Wed, 23 Dec 2015 19:09:27 +0000 (19:09 +0000)
Obsolete RTMPPacket_Free() call left over from original C++ to C rewrite

librtmp/rtmp.c

index ca7db6a..d3c4715 100644 (file)
@@ -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)
            {