- Mar 01, 2018
-
-
Michael Whittaker authored
Previously, `UDPTransport::SendMessageInternal` dynamically allocated a `char[]` and used a `goto fail` to make sure that it was properly deleted. Something like: ```c++ char *buf = new char[100]; if (...) { ... goto fail; } else if (...) { ... goto fail; } else { ... } fail: delete [] buf; return false; ``` Now, the array is stored in a `unique_ptr` so that it's properly deallocated when the function returns, without needing the goto fail.
-
- Jan 18, 2017
-
-
Naveen Kr. Sharma authored
-
Naveen Kr. Sharma authored
-
Naveen Kr. Sharma authored
-
- Jan 17, 2017
-
-
Naveen Kr. Sharma authored
-
Naveen Kr. Sharma authored
-
- May 13, 2016
-
-
Irene Y Zhang authored
-
- Feb 05, 2016
-
-
Irene Zhang authored
-
- Jan 23, 2016
-
-
Irene Y Zhang authored
-
- Jan 08, 2016
-
-
Naveen Kr. Sharma authored
-
- Dec 27, 2015
-
-
Naveen Kr. Sharma authored
-
- Jun 23, 2015
-
-
Irene Zhang authored
-
Irene Y Zhang authored
-
Irene Y Zhang authored
-
- Jun 22, 2015
-
-
Irene Y Zhang authored
-
Irene Y Zhang authored
-
- Jun 20, 2015
-
-
Irene Y Zhang authored
-