commit | ea89faff84e35c7a5b386f158b5aec0c6327441c | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri Dec 13 14:24:46 2013 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Dec 14 08:57:17 2013 -0800 |
tree | 876afd6aa6b9338a65c12aadbca150bd367274b0 | |
parent | c13bd1c4eb714c08214e897fcbe51b13e0e0f279 [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>