mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 942940 - Fix a potential memory leak. r=abr
This commit is contained in:
parent
ef5c3539d0
commit
5995475f5b
@ -530,6 +530,7 @@ static int nr_ice_component_process_incoming_check(nr_ice_component *comp, nr_tr
|
||||
|
||||
if(r=nr_ice_candidate_pair_insert(&comp->stream->check_list,pair)) {
|
||||
*error=(r==R_NO_MEMORY)?500:400;
|
||||
nr_ice_candidate_pair_destroy(&pair);
|
||||
ABORT(r);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user