1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

merge from xiangcheng.liu, memory leak in amf0

This commit is contained in:
winlin 2014-03-03 09:49:59 +08:00
parent d622da3b44
commit 722e79003b

View file

@ -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();
}