From 722e79003bd63c8d3d892cc3002557285c6850ff Mon Sep 17 00:00:00 2001 From: winlin Date: Mon, 3 Mar 2014 09:49:59 +0800 Subject: [PATCH] merge from xiangcheng.liu, memory leak in amf0 --- trunk/src/rtmp/srs_protocol_rtmp_stack.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trunk/src/rtmp/srs_protocol_rtmp_stack.cpp b/trunk/src/rtmp/srs_protocol_rtmp_stack.cpp index ac8808219..d8c193e8a 100644 --- a/trunk/src/rtmp/srs_protocol_rtmp_stack.cpp +++ b/trunk/src/rtmp/srs_protocol_rtmp_stack.cpp @@ -1812,6 +1812,8 @@ SrsConnectAppResPacket::SrsConnectAppResPacket() { command_name = RTMP_AMF0_COMMAND_RESULT; transaction_id = 1; + // TODO: FIXME: memory leak for decode will set the props and info. + // TODO: FIXME: bug#22, refine the amf0. props = new SrsAmf0Object(); info = new SrsAmf0Object(); }