commit | 97a184ba845624e0fa347c77bcd42f798544c7bb | [log] [tgz] |
---|---|---|
author | Andres Amaya Garcia <andres.amayagarcia@arm.com> | Mon Nov 26 21:23:28 2018 +0000 |
committer | Andres Amaya Garcia <andres.amayagarcia@arm.com> | Mon Nov 26 21:29:29 2018 +0000 |
tree | d4e5ee1c22159a0ce3303f6ead69b150f7cc42ba | |
parent | e26f79ba67302b1cacb0f4d586a3cf57e44e676f [diff] |
Fix resource leak of file desc in test code
diff --git a/tests/suites/helpers.function b/tests/suites/helpers.function index eef41c7..755c3ea 100644 --- a/tests/suites/helpers.function +++ b/tests/suites/helpers.function
@@ -144,6 +144,7 @@ if( *out_stream == NULL ) { + close( stdout_fd ); return -1; }