Commit c88446be authored by Youness Alaoui's avatar Youness Alaoui

oups, we need to free the incoming checks only after we process them, not...

oups, we need to free the incoming checks only after we process them, not inside the loop processing them...
parent aad4a656
...@@ -1036,6 +1036,8 @@ void conn_check_remote_candidates_set(NiceAgent *agent) ...@@ -1036,6 +1036,8 @@ void conn_check_remote_candidates_set(NiceAgent *agent)
} }
} }
} }
}
/* Once we process the pending checks, we should free them to avoid /* Once we process the pending checks, we should free them to avoid
* reprocessing them again if a dribble-mode set_remote_candidates * reprocessing them again if a dribble-mode set_remote_candidates
* is called */ * is called */
...@@ -1048,7 +1050,6 @@ void conn_check_remote_candidates_set(NiceAgent *agent) ...@@ -1048,7 +1050,6 @@ void conn_check_remote_candidates_set(NiceAgent *agent)
component->incoming_checks = NULL; component->incoming_checks = NULL;
} }
} }
}
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment