diff options
| author | 2020-08-09 19:55:41 +0000 | |
|---|---|---|
| committer | 2020-08-09 19:55:41 +0000 | |
| commit | 143f714e0f85c0091f3f30e8b259724dd80fbd27 (patch) | |
| tree | a7400fdee0865ef0025c4e3a3fba803f31277218 | |
| parent | 9a31626797da096ff87f1065deb92a897d701287 (diff) | |
| parent | 62c3a4f46b073109ad988d6e19776fe902e74658 (diff) | |
Merge "Do not leak dump objects." into rvc-d1-dev am: 62c3a4f46b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12319481
Change-Id: Ieb1089dbc51caa49df7f178f3ca9b9ae97da2eeb
| -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; } |