Query module DynamicAllocAfterInit

name
Dynamic allocation after initialization
description
Dynamic memory allocation (using malloc() or calloc()) should be confined to the initialization routines of a program.
kind
problem
id
cpp/power-of-10/dynamic-alloc-after-init
problem.severity
warning

Imports

cpp

Provides classes and predicates for working with C/C++/ObjC/ObjC++ code.

Classes