aboutsummaryrefslogtreecommitdiff
path: root/test_conformance/allocations/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test_conformance/allocations/main.cpp')
-rw-r--r--test_conformance/allocations/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test_conformance/allocations/main.cpp b/test_conformance/allocations/main.cpp
index 43e81277..827072fc 100644
--- a/test_conformance/allocations/main.cpp
+++ b/test_conformance/allocations/main.cpp
@@ -326,6 +326,7 @@ int main(int argc, const char *argv[])
else if ( strcmp( argv[i], "--help" ) == 0 || strcmp( argv[i], "-h" ) == 0 )
{
printUsage( argv[0] );
+ free(argList);
return -1;
}