summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-fsl-spi.c
diff options
context:
space:
mode:
authorMasakazu Mokuno <Masakazu.Mokuno@jp.sony.com>2011-11-01 00:11:59 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2011-11-01 00:30:55 (GMT)
commitcba4c2ac080e170732a030afc27664b00f838e03 (patch)
treeb230c60335225f533b10b570f323662f7ed9cfe0 /drivers/spi/spi-fsl-spi.c
parentf59b6f9f323ff1b4567a69f9063cdd8bb57805e6 (diff)
downloadlinux-cba4c2ac080e170732a030afc27664b00f838e03.tar.xz
drivers/leds/led-triggers.c: fix memory leak
The memory for struct led_trigger should be kfreed in the led_trigger_register() error path. Also this function should return NULL on error. Signed-off-by: Masakazu Mokuno <mokuno@sm.sony.co.jp> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/spi/spi-fsl-spi.c')
0 files changed, 0 insertions, 0 deletions