Borislav Petkov
a9f0fbe2bb
amd64_edac: Fix potential memleak
...
We check the pointers together but at least one of them could be invalid
due to failed allocation. Since we cannot continue if either of the two
allocations has failed, exit early by freeing them both.
Cc: <stable@kernel.org> # 38.x
Reported-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
2011-03-29 18:19:06 +02:00
..
2010-10-21 14:47:59 +02:00
2011-03-17 14:46:11 +01:00
2011-03-29 18:19:06 +02:00
2011-03-17 14:46:30 +01:00
2010-05-18 14:59:08 -07:00
2009-06-18 13:03:56 -07:00
2009-04-02 19:05:03 -07:00
2009-05-29 08:40:03 -07:00
2010-11-01 15:38:34 -04:00
2010-11-01 15:38:34 -04:00
2011-01-07 11:38:31 +01:00
2010-03-30 22:02:32 +09:00
2011-01-07 11:38:31 +01:00
2011-01-13 10:05:56 -08:00
2010-10-24 13:41:39 -07:00
2009-09-24 07:21:05 -07:00
2011-03-17 14:46:10 +01:00
2011-01-07 11:33:56 +01:00
2010-05-10 11:44:50 -03:00
2010-10-21 14:47:59 +02:00
2010-10-21 14:47:59 +02:00
2010-10-21 14:47:59 +02:00
2009-09-24 07:21:05 -07:00
2010-10-21 14:47:59 +02:00
2010-12-28 01:20:51 +01:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-08-11 08:59:21 -07:00
2011-01-07 11:38:31 +01:00
2010-08-11 08:59:21 -07:00
2011-01-19 15:43:08 +01:00
2010-10-18 11:03:14 +02:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2011-02-17 16:47:04 +01:00
2011-03-10 13:30:14 -05:00
2011-03-10 13:30:14 -05:00
2011-01-07 11:54:23 +01:00
2011-03-17 14:46:26 +01:00
2011-03-17 14:46:19 +01:00
2011-02-28 01:36:39 -07:00
2010-03-12 15:52:40 -08:00
2010-03-30 22:02:32 +09:00
2008-02-07 08:42:23 -08:00
2010-03-30 22:02:32 +09:00
2011-02-28 01:36:39 -07:00
2009-04-02 19:05:03 -07:00
2010-05-18 14:59:08 -07:00
2011-03-10 13:30:14 -05:00
2010-03-30 22:02:32 +09:00