mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 942958 - Fix bug where a failure to populate the foundation of a peerreflexive candidate would result in an incorrect error return from nr_ice_peer_peer_rflx_candidate_create. r=ekr
This commit is contained in:
parent
b2b7a0f29e
commit
66569b240b
@ -236,7 +236,7 @@ int nr_ice_peer_peer_rflx_candidate_create(nr_ice_ctx *ctx,char *label, nr_ice_c
|
||||
ABORT(r);
|
||||
/* Bogus foundation */
|
||||
if(!(cand->foundation=r_strdup(cand->addr.as_string)))
|
||||
ABORT(r);
|
||||
ABORT(R_NO_MEMORY);
|
||||
|
||||
nr_ice_candidate_compute_codeword(cand);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user