Browse Source

Do not free candidate memory

Murat Dogan 5 years ago
parent
commit
9f305a6b01
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/icetransport.cpp

+ 0 - 2
src/icetransport.cpp

@@ -676,8 +676,6 @@ bool IceTransport::getSelectedCandidatePair(CandidateInfo *localInfo, CandidateI
 	remoteInfo->type = IceTransport::NiceTypeToCandidateType(remote->type);
 	remoteInfo->transportType = IceTransport::NiceTransportTypeToCandidateTransportType(remote->transport);
 
-	nice_candidate_free(local);
-	nice_candidate_free(remote);
 	return true;
 }