Bug 942940 - Fix a potential memory leak. r=abr

This commit is contained in:
Byron Campen [:bwc] 2013-12-03 16:11:29 -08:00
parent ef5c3539d0
commit 5995475f5b

View File

@ -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);
}