OSDN Git Service

Pulling in https://android-review.googlesource.com/#/c/186482/1
authorNancy Zheng <nzheng@google.com>
Wed, 13 Jan 2016 23:23:56 +0000 (15:23 -0800)
committerNancy Zheng <nzheng@google.com>
Wed, 13 Jan 2016 23:23:56 +0000 (15:23 -0800)
commit74dfcf90f18d8d0e1128707a5986c4fa94d70350
treee7dafb136a6bd65211a07c709f9b6f6c7c352714
parenteebf168e43e4a455a74e949cc0d7e156b231a697
Pulling in https://android-review.googlesource.com/#/c/186482/1

Fix memory leak in HWUI

std::unique_ptr::release just releases the ownership of the
managed object. To delete the object, std::unique_ptr::reset
function should be called.

Bug: 26116596
Change-Id: If65f74085b1fc2be3a9fffc433326e0bcdb40ff3
libs/hwui/Caches.cpp
libs/hwui/GammaFontRenderer.cpp
libs/hwui/Layer.cpp