Kevin Winchester
3f50b0222e
agp: correct missing cleanup on error in agp_add_bridge
...
While investigating a kmemleak detected leak, I encountered the
agp_add_bridge function. It appears to be responsible for freeing
the agp_bridge_data in the case of a failure, but it is only doing
so for some errors.
Fix it to always free the bridge data if a failure condition is
encountered.
Signed-off-by: Kevin Winchester <kjwinchester@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-11 15:09:01 +10:00
..
2010-01-11 15:09:01 +10:00
2009-10-22 16:39:34 +10:30
2009-06-11 08:51:01 -07:00
2009-10-04 15:05:10 -07:00
2009-09-24 07:21:03 -07:00
2009-09-22 07:17:42 -07:00
2009-10-11 11:20:58 -07:00
2009-10-09 12:18:18 +11:00
2009-10-01 16:11:11 -07:00
2009-07-12 12:22:34 -07:00
2009-10-01 16:11:11 -07:00
2009-10-11 11:20:58 -07:00
2009-06-22 11:32:23 -07:00
2009-10-01 16:11:11 -07:00
2009-06-26 14:37:26 +10:00
2009-10-01 16:11:16 -07:00
2009-10-04 15:05:10 -07:00
2009-10-11 11:20:58 -07:00
2009-09-19 13:13:31 -07:00
2009-09-11 16:02:11 +10:00
2009-10-11 11:20:58 -07:00
2009-10-13 10:20:16 -07:00
2009-09-24 07:21:03 -07:00
2009-09-24 15:12:47 +10:00
2009-09-24 15:12:47 +10:00
2009-06-16 14:15:44 +10:00
2009-09-24 15:12:47 +10:00
2009-08-28 14:24:11 +10:00
2009-11-03 11:05:51 -08:00
2009-06-18 11:16:55 +10:00
2009-08-20 10:29:28 +10:00
2009-09-19 13:13:27 -07:00
2009-10-11 11:20:58 -07:00
2009-10-30 14:43:12 -07:00
2009-11-25 23:05:17 -08:00
2009-09-24 07:21:03 -07:00
2009-09-15 08:42:00 -07:00
2009-09-27 11:39:25 -07:00
2009-09-23 07:39:29 -07:00
2009-07-12 12:22:34 -07:00
2009-09-27 11:39:25 -07:00
2009-09-19 13:13:38 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-09-19 13:13:34 -07:00
2009-10-11 11:20:58 -07:00
2009-06-18 13:03:54 -07:00
2009-06-15 16:47:27 +10:00
2009-10-11 11:20:58 -07:00
2009-09-24 07:21:04 -07:00
2009-09-19 12:50:38 -07:00
2009-09-19 13:13:37 -07:00
2009-07-12 12:22:34 -07:00
2009-10-13 10:20:16 -07:00
2009-06-11 08:51:01 -07:00
2009-10-11 11:20:58 -07:00
2009-10-01 16:11:16 -07:00
2009-10-13 10:20:16 -07:00
2009-07-20 16:38:43 -07:00
2009-10-11 11:20:58 -07:00
2009-07-12 12:22:34 -07:00
2009-09-01 01:13:31 -07:00
2009-09-01 01:13:31 -07:00
2009-09-01 01:13:31 -07:00
2009-09-21 14:28:04 +02:00
2009-07-03 15:45:29 +01:00
2009-10-11 11:20:58 -07:00
2009-06-11 08:51:02 -07:00
2009-10-14 09:20:41 -07:00
2009-09-27 13:35:16 -07:00
2009-09-19 13:13:35 -07:00
2009-10-03 21:44:21 -07:00
2009-11-30 16:38:25 -08:00
2009-09-24 07:21:03 -07:00
2009-07-20 16:38:43 -07:00
2009-06-02 10:32:34 +10:00
2009-10-22 16:39:28 +10:30
2009-11-19 13:43:06 -08:00
2009-09-19 13:13:35 -07:00