Re: [PATCH] elevator: fix memory leak in ->elevator_init_fn
Date
Fri, 24 Apr 2015 09:03:00 -0400
Chao Yu <chao2.yu@samsung.com> writes:
> In ->elevator_init_fn, if we fail to call kzalloc_node, we should release > elevator queue space which is allocated previously, otherwise it will cause > memory leak. > > Signed-off-by: Chao Yu <chao2.yu@samsung.com>