From: Dan Carpenter Date: Thu, 26 Jul 2012 07:59:51 +0000 (+0800) Subject: LEDS: memory leak in blinkm_led_common_set() X-Git-Tag: v3.6-rc1~76^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d8729a139782d4facc98b7bd7d87c7d10c128b0;p=pandora-kernel.git 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: Dan Carpenter Acked-by: Jan-Simon Möller Signed-off-by: Bryan Wu --- Reading git-diff-tree failed