• Philip Withnall's avatar
    agent: Ensure Component.selected_pair is cleaned when freeing candidates · 948bdce7
    Philip Withnall authored
    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.
    948bdce7
component.c 33.8 KB