UPSTREAM: zram: free meta table in zram_meta_free
(cherry-pick from commit 1fec1172) zram_meta_alloc() and zram_meta_free() are a pair. In zram_meta_alloc(), meta table is allocated. So it it better to free it in zram_meta_free(). Bug: 25951511 Change-Id: Id9b9f2b634412cd4ab76d550a5224dbbf1b328d1 Signed-off-by:Ganesh Mahendran <opensource.ganesh@gmail.com> Acked-by:
Minchan Kim <minchan@kernel.org> Acked-by:
Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Cc: Nitin Gupta <ngupta@vflare.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Loading
Please sign in to comment