Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 313 Bytes

autovarInvalidDeallocation.md

File metadata and controls

11 lines (6 loc) · 313 Bytes

Pattern: Deallocation of auto-variable

Issue: -

Description

The deallocation of an auto-variable results in undefined behaviour. You should only free memory that has been allocated dynamically.

Further Reading