Resolve Issue
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 Fortran sample application.
To fix the detected memory error:
Investigate the Issue
Scroll to near line 94. The embedded commenting in the nqueens_memory.f90 sample file reveals the cause of the Memory leak error: The deallocate call near line 95 that releases the memory is commented out.
Access an Editor
Double-click near line 94 in the Source tab to open the nqueens_memory.f90 source file in an editor.
Change the Source Code
Uncomment !deallocate (correct_solution).
Save your edits.
Click the result tab to return to the Sources window.
NOTE:The Sources window data is unchanged because it is a snapshot of the source code at the time of analysis.
Click the Summary button to redisplay the Summary window.