aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/cptm1217
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2013-11-26 21:36:54 -0800
committerColin Cross <ccross@android.com>2013-12-12 15:27:13 -0800
commit1ebba641fb19e38541e30666de8f26b7971949dc (patch)
treefcdf3452e53f60f83c3c47af85623eb168011943 /drivers/staging/cptm1217
parent6db8a1c0c9817d6ebd61c47110554aa34729e9a7 (diff)
ion: carveout heap: zero buffers on free, fix memory leak
The carveout heap wasn't zeroing its buffers after use. Create the sg_table during allocate instead of map_dma, to allow using the sg_table during free, and call ion_heap_buffer_zero during free. Also fixes a missing kfree when destroying the table. Change-Id: I318a8493cce32580250884cae336dd2e2c28e73b Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'drivers/staging/cptm1217')
0 files changed, 0 insertions, 0 deletions