summaryrefslogtreecommitdiff
path: root/drivers/gpu/ion/ion_heap.c
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2013-08-14 14:03:55 -0700
committerColin Cross <ccross@android.com>2013-09-19 23:03:30 -0500
commitf526a55b400d166dafc6062e5818a2410555ef39 (patch)
treed815480a10e21ce5bc58fefcb297709d69b4b976 /drivers/gpu/ion/ion_heap.c
parent6ebfe5864ae65ad31e1e5526f0f45a5f735c9a5b (diff)
downloadolio-linux-3.10-f526a55b400d166dafc6062e5818a2410555ef39.tar.xz
olio-linux-3.10-f526a55b400d166dafc6062e5818a2410555ef39.zip
ion: chunk_heap: fix leak in allocated counter
buffer->size is controlled by the outer ion layer, don't modify it inside the heap. Instead, compute the rounded up allocated size on demand. Change-Id: I288ffc1221ce96cfe2591468502ac3279065bde4 Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'drivers/gpu/ion/ion_heap.c')
0 files changed, 0 insertions, 0 deletions