[ldv-project] [PATCH] dm-log-userspace: fix memory leak on failure path in dm_ulog_tfr_init()
Brassow Jonathan
jbrassow at redhat.com
Thu Oct 2 20:57:31 MSK 2014
On Oct 1, 2014, at 3:58 PM, Alexey Khoroshilov <khoroshilov at ispras.ru> wrote:
> If cn_add_callback() fails in dm_ulog_tfr_init(), it does not
> deallocate prealloced memory but calls cn_del_callback().
> It looks like a misprint.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Alexey Khoroshilov <khoroshilov at ispras.ru>
Signed-off-by: Jonathan Brassow <jbrassow at redhat.com>
More information about the ldv-project
mailing list