Articles contenant le tag memory leak
std::unique_ptr, virtual and missing virtual destructor = major pitfall
Posté par Olivier dans Trucs & Astuces le 29 août 2013
In our company, the build infrastructure runs unit tests in a valgrind shell, trying to detect memory leaks at the time the unit tests are executed. And every now and then, although our memory allocations are mostly handled through std::unique_ptr or std::shared_ptr, a leak pops up on the radar. And usually with the most useless […]