summaryrefslogtreecommitdiffstats
path: root/tester/covoar/GcovData.h
diff options
context:
space:
mode:
authorRyan Long <ryan.long@oarcorp.com>2021-05-17 13:35:24 -0400
committerJoel Sherrill <joel@rtems.org>2021-06-04 12:22:38 -0500
commit08d9f37d521f5540086c3e7d8de98faf03fb10ff (patch)
treee08b776004ddca1e4ef4dc3714799a8b7abc3b99 /tester/covoar/GcovData.h
parentTraceReaderLogQEMU.cc: Fix resource leak (diff)
downloadrtems-tools-08d9f37d521f5540086c3e7d8de98faf03fb10ff.tar.bz2
GcovData.cc: Fix resource leak
CID 1399610: Resource leak in readFrame(). Closes #4418
Diffstat (limited to 'tester/covoar/GcovData.h')
-rw-r--r--tester/covoar/GcovData.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tester/covoar/GcovData.h b/tester/covoar/GcovData.h
index 94f5331..0e74b02 100644
--- a/tester/covoar/GcovData.h
+++ b/tester/covoar/GcovData.h
@@ -30,8 +30,8 @@ namespace Gcov {
#define GCOV_TAG_PROGRAM_SUMMARY ((uint32_t)0xa3000000)
-typedef std::list<Gcov::GcovFunctionData*> functions_t;
-typedef std::list<Gcov::GcovFunctionData*>::iterator functions_iterator_t;
+typedef std::list<Gcov::GcovFunctionData> functions_t;
+typedef std::list<Gcov::GcovFunctionData>::iterator functions_iterator_t;
struct gcov_preamble
{