summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorColin Cross2013-12-13 14:24:46 -0800
committerGreg Kroah-Hartman2013-12-14 08:57:17 -0800
commitea89faff84e35c7a5b386f158b5aec0c6327441c (patch)
tree876afd6aa6b9338a65c12aadbca150bd367274b0 /include
parentc13bd1c4eb714c08214e897fcbe51b13e0e0f279 (diff)
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. Signed-off-by: Colin Cross <ccross@android.com> [jstultz: modified patch to apply to staging directory] Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions