diff options
author | Florian Mayer <fmayer@google.com> | 2020-08-06 12:55:42 +0000 |
---|---|---|
committer | Florian Mayer <fmayer@google.com> | 2020-08-07 16:07:25 +0000 |
commit | 6e1b4a42026c6460fc01dac1483a9d2aa71649ae (patch) | |
tree | 6ef25711c7358e02e0e31a9d9187de9667b49234 /libs/hwui/service/GraphicsStatsService.cpp | |
parent | cd561cbfac8fe33dd836df64ee7030963a2d7cf8 (diff) |
Do not leak dump objects.
Bug: 163024455
Change-Id: I9c1737647d762f478c0e452e5b72f98ec3d43c28
Diffstat (limited to 'libs/hwui/service/GraphicsStatsService.cpp')
-rw-r--r-- | libs/hwui/service/GraphicsStatsService.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/service/GraphicsStatsService.cpp b/libs/hwui/service/GraphicsStatsService.cpp index 644d5fbd5bf9..e4198017aee0 100644 --- a/libs/hwui/service/GraphicsStatsService.cpp +++ b/libs/hwui/service/GraphicsStatsService.cpp @@ -559,6 +559,7 @@ void GraphicsStatsService::finishDumpInMemory(Dump* dump, AStatsEventList* data, AStatsEvent_writeBool(event, !lastFullDay); AStatsEvent_build(event); } + delete dump; } |