User Guide

  • 2020
  • 09/09/2020
  • Public Content

Missing Allocation

Occurs when an invalid pointer is passed to a deallocation function. The invalid address may point to a previously released heap block.
Code Location
Deallocation site
If present, represents the location and associated call stack from which the memory block referenced by the address was previously deallocated.
The previous deallocation makes all subsequent deallocation attempts invalid.
Invalid deallocation site
Represents the location and associated call stack attempting the deallocation.
char* pStr = (char*) malloc(20); free(pStr); free(pStr);
integer, target :: b(100) integer, pointer :: pmiddle pmiddle => b(4) DEALLOCATE( pmiddle )
Possible Correction Strategies
Do This
A double deallocation occurs.
Remove the extraneous deallocation.
An invalid deallocation occurs.
Fix the pointer value passed to the deallocator.

Product and Performance Information


Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804