Rebuild and Rerun Analysis
Intel® Inspector is a dynamic memory and threading error checking tool for users developing serial and multithreaded applications on Windows* and Linux* operating systems. This topic is part of a tutorial that shows how to find and fix memory errors using the Intel Inspector and a C++ sample application.
To check if your edits fixed the Mismatched allocation/deallocation problem:
Rebuild the Application
If you are using the Visual Studio* IDE:
Choose Build > Clean Solution.
Choose Build > Rebuild Solution.
If you are using the Intel Inspector standalone GUI:
In the previously opened command prompt window, change directory to the tachyon_inspxe\ directory.
Type devenv vc10\tachyon_insp_xe.sln /Clean.
Type devenv vc10\tachyon_insp_xe.sln /Build.
Rerun the Analysis
To run another analysis of the same analysis type:
From the Visual Studio* menu, choose Tools > Intel Inspector [version] > Memory Error Analysis / Detect Memory Problems.
From the Intel Inspector standalone GUI menu, choose File > Memory Error Analysis / Detect Memory Problems.
Notice the application output now displays properly.
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.