mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
HLS: Fix memory leak
This commit is contained in:
parent
6bc83e1041
commit
0716fb4be2
1 changed files with 1 additions and 0 deletions
|
@ -1225,6 +1225,7 @@ srs_error_t SrsComplexHandshake::handshake_with_client(SrsHandshakeBytes* hs_byt
|
||||||
}
|
}
|
||||||
// verify s2
|
// verify s2
|
||||||
if ((err = s2.s2_validate(&c1, is_valid)) != srs_success || !is_valid) {
|
if ((err = s2.s2_validate(&c1, is_valid)) != srs_success || !is_valid) {
|
||||||
|
srs_freep(err);
|
||||||
return srs_error_new(ERROR_RTMP_TRY_SIMPLE_HS, "verify s2 failed, try simple handshake");
|
return srs_error_new(ERROR_RTMP_TRY_SIMPLE_HS, "verify s2 failed, try simple handshake");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue