Tutorial: Analyzing Memory Errors with Intel® Inspector and a C++ Sample
To check if your edits fixed the
Mismatched allocation/deallocation problem:
To run another analysis of the same analysis type: In the Intel Inspector GUI, choose File > New > Memory Error Analysis / Detect Memory Problems.
The
Summary window automatically displays after analysis (both collection and finalization) completes successfully:
Notice the Intel Inspector:
Created a new result tab: r002mi2.
No longer detects the Mismatched allocation/deallocation problem in the find_and_fix_memory_errors.cpp source file.