]> granicus.if.org Git - rtmpdump/commitdiff
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 ca7db6a49aebb8f14b505d4505f3c6415a5daa00..d3c471587f33cc882e5be188870c60b308e03eac 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)
            {