OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix memory leak in HWUI
[android-x86/frameworks-base.git]
/
libs
/
hwui
/
Caches.cpp
diff --git
a/libs/hwui/Caches.cpp
b/libs/hwui/Caches.cpp
index
aa73d44
..
2763e89
100644
(file)
--- a/
libs/hwui/Caches.cpp
+++ b/
libs/hwui/Caches.cpp
@@
-117,7
+117,7
@@
void Caches::initStaticProperties() {
void Caches::terminate() {
if (!mInitialized) return;
- mRegionMesh.re
lease(
);
+ mRegionMesh.re
set(nullptr
);
fboCache.clear();