commit | 62f66da68af4c4ab57b4433c0fe8287f9f2b66e8 | [log] [tgz] |
---|---|---|
author | Florian Mayer <fmayer@google.com> | Thu Aug 06 12:57:43 2020 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Fri Aug 14 00:04:39 2020 +0000 |
tree | 195d1a1cf608859b791f0670c3c7c143b14018bb | |
parent | 979cb4566c6a14fcaa133a7891d2763d6617a46d [diff] [blame] |
Do not leak dump objects. Bug: 163024455 Change-Id: Ia0710c3462f03a85bc22aaac7b190961da1f8be3 Merged-in: I9c1737647d762f478c0e452e5b72f98ec3d43c28 (cherry picked from commit 29154b178d6a672decfafbac41c232d8b0d33c88)
diff --git a/libs/hwui/service/GraphicsStatsService.cpp b/libs/hwui/service/GraphicsStatsService.cpp index 644d5fb..e419801 100644 --- a/libs/hwui/service/GraphicsStatsService.cpp +++ b/libs/hwui/service/GraphicsStatsService.cpp
@@ -559,6 +559,7 @@ AStatsEvent_writeBool(event, !lastFullDay); AStatsEvent_build(event); } + delete dump; }