mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
for bug #186, read the args when discovery it. 2.0.6
This commit is contained in:
parent
7d70864b33
commit
05cce97140
1 changed files with 1 additions and 0 deletions
|
@ -1877,6 +1877,7 @@ int SrsConnectAppPacket::decode(SrsStream* stream)
|
||||||
// read the instance
|
// read the instance
|
||||||
if ((ret = any->read(stream)) != ERROR_SUCCESS) {
|
if ((ret = any->read(stream)) != ERROR_SUCCESS) {
|
||||||
srs_error("amf0 decode connect args failed. ret=%d", ret);
|
srs_error("amf0 decode connect args failed. ret=%d", ret);
|
||||||
|
srs_freep(any);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue