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:20 +0000 |
commit | 29154b178d6a672decfafbac41c232d8b0d33c88 (patch) | |
tree | b3557941a9ba76b414fd7a57b04f74c16a73984e | |
parent | 3ff2a5cbd1407004ae064d570f6fb79b309f813d (diff) |
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; } |