No, a static analyzer is one of the tools that is convenient for you, but you should not rely only on it.
Tools, and in particular leak detection and memory isolation tools, are great ways to detect leaks. A memory allocation tool can help you find leaks that cannot be leaked, because it can show you the total memory usage, if you notice that it is growing, but never descending after you finish the task, you can start searching for a possible leaks ...
source share