Better formulation about memory leak in C++