Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT C Coding Standard
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT C Coding Standard
2 Rules
Rule 08. Memory Management (MEM)
MEM34-C. Only free memory allocated dynamically
Page Information
Title:
MEM34-C. Only free memory allocated dynamically
Author:
Robert C. Seacord
Jun 20, 2006
Last Changed by:
Caden Milne
Nov 08, 2024
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/HNYxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C++ Coding Standard (1)
Page:
MEM51-CPP. Properly deallocate dynamically allocated resources
SEI CERT C Coding Standard (1)
Page:
EXP02-C. Be aware of the short-circuit behavior of the logical AND and OR operators
Hierarchy
Parent Page
Page:
Rule 08. Memory Management (MEM)
Labels
Global Labels (14)
review-dms
compass/rose
coverity
review
android-applicable
ptc
review-jb
review-rcs
rose-partial
rule
review-ajb
mem
klocwork
in-cpp
Recent Changes
Time
Editor
Nov 08, 2024 14:03
Caden Milne
View Changes
Updated references from C11->C23
Oct 08, 2024 10:03
Swasti Shrivastava
View Changes
Apr 20, 2023 05:23
Jill Britton
View Changes
Jan 18, 2023 11:51
Jill Britton
View Changes
Sep 26, 2022 16:15
Anirban Gangopadhyay
View Page History
Outgoing Links
External Links (19)
https://cwe.mitre.org/data/index.html
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/display/c/PVS-Studio
https://pvs-studio.com/en/docs/warnings/v726/
https://www.mathworks.com/help/bugfinder/ref/certcrulemem34…
https://securityblog.redhat.com/2015/02/23/samba-vulnerabil…
https://wiki.sei.cmu.edu/confluence/display/c/AA.+Bibliogra…
https://pvs-studio.com/en/docs/warnings/v585/
https://wiki.sei.cmu.edu/confluence/display/c/Cppcheck
cwe.mitre.org/data/definitions/590.html
https://wiki.sei.cmu.edu/confluence/display/c/SEI+CERT+C+Co…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/display/c/How+this+Codi…
https://wiki.sei.cmu.edu/confluence/display/cplusplus/MEM51…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://taas.trust-in-soft.com/tsnippet/t/3168a3b1
https://wiki.sei.cmu.edu/confluence/display/c/MEM31-C.+Free…
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
SEI CERT C Coding Standard (35)
Page:
Astrée
Page:
Klocwork
Page:
Parasoft
Page:
RuleChecker
Page:
Axivion Bauhaus Suite_V
Page:
Astrée_V
Page:
TrustInSoft Analyzer_V
Page:
Cppcheck Premium_V
Page:
LDRA
Page:
Axivion Bauhaus Suite
Page:
Helix QAC
Page:
Cppcheck Premium
Page:
PC-lint Plus
Page:
TrustInSoft Analyzer
Page:
Coverity
Page:
Clang
Page:
Rose
Page:
CC. Undefined Behavior
Page:
Helix QAC_V
Page:
CodeSonar_V
Page:
PVS-Studio_V
Page:
RuleChecker_V
Page:
LDRA_V
Page:
BB. Definitions
Page:
Polyspace Bug Finder
Page:
PC-lint Plus_V
Home page:
SEI CERT C Coding Standard
Page:
Polyspace Bug Finder_V
Page:
Parasoft_V
Page:
Cppcheck_V
Page:
AA. Bibliography
Page:
Klocwork_V
Page:
CodeSonar
Page:
Coverity_V
Page:
Clang_V
Overview
Content Tools
{"serverDuration": 97, "requestCorrelationId": "9c854c4f504dd534"}