Skip to content
Commit 4d8729a1 authored by Dan Carpenter's avatar Dan Carpenter Committed by Bryan Wu
Browse files

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarJan-Simon Möller <jansimon.moeller@gmx.de>
Signed-off-by: default avatarBryan Wu <bryan.wu@canonical.com>
parent eb80411b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment