agent: Ensure Component.selected_pair is cleaned when freeing candidates
When freeing candidates (component_free_socket_sources()), the sockets which back Component.selected_pair.[local|remote] are closed and their addresses destroyed. Component.selected_pair should be cleared as well to allow calling code to condition on (Component.selected_pair == NULL) to see if it’s invalid.
Showing
Please register or sign in to comment