[PATCH 3.12 166/170] DMA, CMA: fix possible memory leak

2014-07-18 Thread Jiri Slaby
From: Joonsoo Kim 3.12-stable review patch. If anyone has any objections, please let me know. === commit fe8eea4f4a3f299ef83ed090d5354698ebe4fda8 upstream. We should free memory for bitmap when we find zone mismatch, otherwise this memory will leak. Additionally, I copy code

[PATCH 3.12 166/170] DMA, CMA: fix possible memory leak

2014-07-18 Thread Jiri Slaby
From: Joonsoo Kim iamjoonsoo@lge.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit fe8eea4f4a3f299ef83ed090d5354698ebe4fda8 upstream. We should free memory for bitmap when we find zone mismatch, otherwise this memory will leak.