ASan also can detect other memory difficulties such as memory leaks: How to define memory leak in a very C++ code/venture? But you'll find other strategies to say the identical factor; one example is, I am able to use "the best way is" (which is also stated around the Ngram): https://erickczunh.bloggadores.com/35618293/the-fact-about-stack-ball-colorful-tower-that-no-one-is-suggesting