Merge "Do not leak dump objects."

This commit is contained in:
TreeHugger Robot
2020-08-07 17:48:26 +00:00
committed by Android (Google) Code Review

View File

@@ -559,6 +559,7 @@ void GraphicsStatsService::finishDumpInMemory(Dump* dump, AStatsEventList* data,
AStatsEvent_writeBool(event, !lastFullDay);
AStatsEvent_build(event);
}
delete dump;
}