LEDS: memory leak in blinkm_led_common_set()
This can return without freeing the bl_work struct. Also there was no check for allocation failure. Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Acked-by: NJan-Simon Möller <jansimon.moeller@gmx.de> Signed-off-by: NBryan Wu <bryan.wu@canonical.com>
Showing
想要评论请 注册 或 登录