Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29280 Discussions

Deallocating Data Structures containing Allocated sub-structures

mattsdad
Beginner
461 Views
When deallocating data sStructures containing allocated sub-structures, does Intel Fortran automatically deallocate the sub-sutructures or woul that action cause a memory leak?
0 Kudos
1 Reply
Steven_L_Intel1
Employee
461 Views
Yes, allocatable components will be deallocated automatically.
0 Kudos
Reply