HLS: Fix memory leak

pull/1969/head
winlin 5 years ago
parent 6bc83e1041
commit 0716fb4be2

@ -1225,6 +1225,7 @@ srs_error_t SrsComplexHandshake::handshake_with_client(SrsHandshakeBytes* hs_byt
}
// verify s2
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");
}

Loading…
Cancel
Save