SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security
Downloads:  Download this Test Case #2058

Back to the previous page... Back to the previous page

Test Case IDAccepted2058
Bad / Good / MixedGoodGood test case
Author
Associations
Test suite: 58  
Added byMichael Koo
LanguageC++
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2007-12-26
DescriptionAllocated memory is deleted after use. There will be no memory leak.
File(s)
Flaw

There are no comments
Have any comments on this test case? Please, .

File Contains:
CWE-401: Improper Release of Memory Before Removing Last Reference ('Memory Leak') on line(s): 0