Andrew Morton dd78c9439f drivers/char/tpm/tpm.c: fix error-path memory leak
tpm_register_hardware() leaks devname on an error path.

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=11425

Reported-by: Daniel Marjamki <danielm77@spray.se>
Cc: Debora Velarde <debora@linux.vnet.ibm.com>
Cc: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Cc: Marcel Selhorst <tpm@selhorst.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-16 11:21:49 -07:00
..
2008-10-13 09:51:42 -07:00
2008-07-25 10:53:43 -07:00
2008-10-13 09:51:44 -07:00
2008-06-20 14:05:55 -06:00
2008-10-13 09:51:38 -07:00
2008-10-16 11:21:47 -07:00
2008-07-26 13:22:56 -07:00
2008-10-13 09:51:38 -07:00
2008-07-20 17:12:36 -07:00
2008-07-22 13:03:28 -07:00
2008-06-20 14:05:57 -06:00
2008-10-15 11:31:54 +11:00
2008-08-20 12:40:07 +02:00
2008-06-20 14:05:57 -06:00
2008-10-13 09:51:41 -07:00
2008-10-13 09:51:44 -07:00
2008-10-13 09:51:40 -07:00
2008-06-20 14:05:48 -06:00
2008-02-07 08:42:25 -08:00
2008-10-16 11:21:47 -07:00
2008-04-30 08:29:43 -07:00
2008-07-24 10:47:14 -07:00
2008-10-13 09:51:44 -07:00
2008-10-13 09:51:44 -07:00
2008-10-13 09:51:39 -07:00
2007-02-12 09:48:30 -08:00
2007-07-21 17:49:16 -07:00
2008-10-13 09:51:44 -07:00
2008-10-16 11:21:47 -07:00
2008-07-20 17:12:38 -07:00
2008-07-20 17:12:38 -07:00
2008-07-22 13:03:28 -07:00
2008-07-20 17:12:38 -07:00
2006-01-12 09:09:00 -08:00
2008-07-20 17:12:34 -07:00
2008-07-26 20:29:03 -07:00
2008-07-02 15:06:25 -06:00
2008-07-20 17:12:38 -07:00
2008-10-13 09:51:44 -07:00
2008-10-13 09:51:39 -07:00
2008-06-20 14:05:51 -06:00
2008-04-30 23:15:34 +02:00
2008-10-13 09:51:41 -07:00
2008-07-26 20:29:03 -07:00
2008-10-16 11:21:32 -07:00