Browse Source

Merge pull request #49 from murat-dogan/master

Do not free candidate memory
Paul-Louis Ageneau 5 years ago
parent
commit
39392c52a7
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/icetransport.cpp

+ 0 - 2
src/icetransport.cpp

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