diff options
author | 2019-02-15 14:00:53 -0800 | |
---|---|---|
committer | 2019-02-15 14:07:46 -0800 | |
commit | 20c825ae6066f39d9d0cdec2b1c5a42db8cad36b (patch) | |
tree | 2d3f2ffda23019f258c912ab9cfcd7d2b1612500 /libs/input/KeyLayoutMap.cpp | |
parent | b2069ebab1de906ed02383dcd6467f3eb184b53e (diff) |
Fix createLut in ColorSpace.
Previously createLut returns unique_ptr<float3>, which calls delete when it's
destroyed. However, the actual allocation happens using new float3[size * size
* size], which should cal delete [] when it's destroyed. This patch changes the
type to float3[] such that delete [] is called when it's destroyed.
BUG: 112717608
Test: N/A
Change-Id: Ida0671e33c0659c31d599eacc12fffbe35923876
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions