正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -1877,6 +1877,7 @@ int SrsConnectAppPacket::decode(SrsStream* stream) | @@ -1877,6 +1877,7 @@ int SrsConnectAppPacket::decode(SrsStream* stream) | ||
| 1877 | // read the instance | 1877 | // read the instance |
| 1878 | if ((ret = any->read(stream)) != ERROR_SUCCESS) { | 1878 | if ((ret = any->read(stream)) != ERROR_SUCCESS) { |
| 1879 | srs_error("amf0 decode connect args failed. ret=%d", ret); | 1879 | srs_error("amf0 decode connect args failed. ret=%d", ret); |
| 1880 | + srs_freep(any); | ||
| 1880 | return ret; | 1881 | return ret; |
| 1881 | } | 1882 | } |
| 1882 | 1883 |
-
请 注册 或 登录 后发表评论