Masakazu Mokuno
cba4c2ac08
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>
2011-10-31 17:30:55 -07:00
..
2010-03-30 22:02:32 +09:00
2011-10-31 17:30:54 -07:00
2011-05-25 08:39:49 -07:00
2008-04-24 23:37:42 +01:00
2011-10-31 17:30:55 -07:00
2011-05-26 19:45:12 +02:00
2010-03-30 22:02:32 +09:00
2011-08-25 16:25:34 -07:00
2011-05-26 19:45:46 +02:00
2010-03-30 22:02:32 +09:00
2011-08-25 16:25:35 -07:00
2009-09-26 10:50:47 -07:00
2009-12-17 11:38:31 +00:00
2009-12-17 11:16:23 +00:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-12-05 16:58:40 +01:00
2011-05-25 08:39:51 -07:00
2011-06-03 12:14:16 -06:00
2011-08-25 16:25:34 -07:00
2011-07-25 20:57:15 -07:00
2009-11-27 21:07:19 +01:00
2010-06-03 11:33:58 +02:00
2011-07-25 20:57:15 -07:00
2011-06-27 18:00:13 -07:00
2010-03-30 22:02:32 +09:00
2011-05-26 19:45:07 +02:00
2009-01-08 17:55:03 +00:00
2011-03-22 17:43:59 -07:00
2010-10-07 14:02:12 -04:00
2010-10-07 14:00:23 -04:00
2010-06-03 11:33:58 +02:00
2011-07-08 21:14:44 -07:00
2011-01-26 10:49:58 +10:00
2009-04-06 16:06:26 +01:00
2011-04-14 16:06:54 -07:00
2011-10-31 17:30:54 -07:00
2010-03-30 22:02:32 +09:00
2010-11-25 06:50:33 +09:00
2011-07-25 20:57:15 -07:00
2010-03-30 22:02:32 +09:00
2011-03-31 11:26:23 -03:00
2009-01-08 17:55:03 +00:00
2011-05-25 08:39:49 -07:00
2011-01-13 08:03:06 -08:00
2009-04-06 16:06:25 +01:00
2011-01-20 17:02:06 -08:00
2010-03-30 22:02:32 +09:00
2009-04-06 16:06:25 +01:00
2011-09-14 18:09:38 -07:00
2011-10-31 17:30:54 -07:00