Memory Not Deallocated
Represents the location and associated call stack from which the memory block was allocated.
- Memory leakproblems occur when a block of memory is allocated, never deallocated, and not reachable (there is no pointer available to deallocate the block). Severity level = (Error).
- Memory not deallocatedproblems occur when a block of memory is allocated, never deallocated, but still reachable at application exit (there is a pointer available to deallocate the block). Severity level = (Warning).
- Memory growthproblems occur when a block of memory is allocated, but not deallocated, within a specific time segment during application execution. Severity level = (Warning).
static char *pStr = malloc(512); return;
integer, allocatable, save, dimension(:) :: notdeallocatedptr(:) allocate(notdeallocatedptr(200))
Windows* dynamic memory functions such as
Appropriate functions, such as