summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.h
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2025-03-04 15:42:59 +0000
committer Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-03-04 10:18:29 -0800
commit05343671f742b468d23e77c10677f7d34a7cb6c0 (patch)
treeb0e9ccbbc9d899b8df62b3e30c0355612115ba69 /compiler/common_compiler_test.h
parentdedff45b6a50d84273006faf26c6d45c94e51b1d (diff)
Fix a memory leak in dum_trace used in 2246-trace-v2
The parser for the V2 method trace format allocated a buffer when processing the trace entries but never released it. Fix the memory leak and also use unique_ptr to avoid these kind of problems. Test: art/test.py -t 2246-trace-v2 Change-Id: I4055206c288a38de67f27c5bb142590a547f6283
Diffstat (limited to 'compiler/common_compiler_test.h')
0 files changed, 0 insertions, 0 deletions