diff options
author | Ganesh Mahendran <opensource.ganesh@gmail.com> | 2015-02-12 15:00:33 -0800 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2015-05-11 21:37:59 +0800 |
commit | 837e91c8966924792bf5ba5ef9a62eaa55489ff7 (patch) | |
tree | 16c4468c940c49d6f62d5e8510d662abc74ce5f4 /lib/bsearch.c | |
parent | 60acd81baccac53be98e07c140a0579a3607be9d (diff) |
zram: free meta table in zram_meta_free
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().
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>
(cherry picked from commit 1fec117281d9f5349c35279c9521f4096fa33357)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'lib/bsearch.c')
0 files changed, 0 insertions, 0 deletions