commit | b159633aa3b91301de108a0b32e4634c72f34d14 | [log] [tgz] |
---|---|---|
author | Mykola Kondratenko <mykola.kondratenko@sonymobile.com> | Thu Mar 12 15:20:38 2015 +0100 |
committer | Henrik Baard <henrik.baard@sonymobile.com> | Tue Mar 17 08:57:41 2015 +0100 |
tree | 6a1afed560dac8141242f6abb6ea51cae75784dd | |
parent | 9aeb080eec2286e8604901bd2b8248be4e527107 [diff] |
hwui : fix memory leak due to duplicate in shadow cache New ShadowTask with the ShadowDescription key that already exists in the shadow LruCache will leak as it is not being added. Fix adds check for the existing key that is common in the hwui code but missing for the TessellationCache::precacheShadow function. Change-Id: I37fd5ec82f8b8da5d1ec0f2ab9fd04c5f8534367