These candidates type is updated from peer-reflexive, discovered during
early incoming checks, to the type of the matching regularly transmitted
candidate, so the previous sockptr value is no longer of interest here.
The same socket is already associated to the initial local candidate
anyway, source of the early discovery.
nice_debug ("Agent %p : Updating existing peer-rfx remote candidate to %s",
agent, _cand_type_to_sdp (type));
candidate->type = type;
+ /* The updated candidate is no more peer reflexive, so its
+ * sockptr can be cleared
+ */
+ candidate->sockptr = NULL;
/* If it got there, the next one will also be ran, so the foundation
* will be set.
*/