Chromium Code Reviews
DescriptionFixing memory leak in TurnServer.
If the test TURN server received two allocate requests from the same
address, it was replacing the old allocation but not deleting it.
Also switching to std::unique_ptr to make it less likely for this to
pop up again.
Committed: https://crrev.com/9794366ff0d8aa2cc4b07a130bae7d4987b232f7
Cr-Commit-Position: refs/heads/master@{#13449}
Patch Set 1 #Patch Set 2 : Using std::tie, added unit test. #Patch Set 3 : Using std::tie, added unit test. #
Messages
Total messages: 10 (3 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||