diff options
author | Florian Mayer <fmayer@google.com> | 2020-08-06 12:57:43 +0000 |
---|---|---|
committer | Florian Mayer <fmayer@google.com> | 2020-08-07 16:15:40 +0000 |
commit | 7f12a30e74af5475f58792ea96caf9019c15be3d (patch) | |
tree | ef4ef1e70fed0bc7bca18366c000f8d9eede49b7 | |
parent | 550d62562292850bedf68c8c5fea860494db80d6 (diff) | |
download | base-7f12a30e74af5475f58792ea96caf9019c15be3d.tar.gz |
Do not leak dump objects.
Bug: 163024455
Change-Id: Ia0710c3462f03a85bc22aaac7b190961da1f8be3
Merged-in: I9c1737647d762f478c0e452e5b72f98ec3d43c28
-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; } |