Sachin Kamat
ec10665cbf
ARM: dma-mapping: Fix potential memory leak in atomic_pool_init()
...
When either of __alloc_from_contiguous or __alloc_remap_buffer fails
to provide a valid pointer, allocated memory is freed up and an error
is returned. 'pages' was however not freed before returning error.
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
2012-09-24 08:35:03 +02:00
..
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2012-04-23 14:21:52 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:12 +01:00
2011-09-10 23:39:56 +01:00
2011-07-02 10:56:11 +01:00
2012-03-28 18:30:01 +01:00
2011-07-07 15:31:05 +01:00
2012-03-28 18:30:01 +01:00
2012-04-23 14:21:52 +01:00
2012-05-07 11:43:48 +08:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-03-28 18:30:01 +01:00
2012-08-25 09:15:57 +01:00
2012-03-20 21:48:14 +08:00
2012-03-20 21:48:14 +08:00
2012-03-29 16:53:48 -07:00
2012-03-20 21:48:14 +08:00
2012-03-20 21:48:14 +08:00
2012-03-29 16:53:48 -07:00
2012-03-20 21:48:14 +08:00
2012-03-29 16:53:48 -07:00
2012-09-24 08:35:03 +02:00
2011-10-31 19:30:48 -04:00
2012-05-21 15:15:33 +01:00
2011-12-08 10:30:40 +00:00
2012-08-11 09:15:59 +01:00
2011-12-08 10:30:37 +00:00
2011-12-08 10:30:40 +00:00
2012-03-29 16:53:48 -07:00
2012-03-28 18:30:01 +01:00
2012-07-27 23:06:32 +01:00
2012-02-23 20:18:56 -07:00
2012-06-28 17:14:35 +01:00
2012-05-05 05:50:50 +01:00
2012-05-05 05:50:50 +01:00
2012-08-25 09:11:40 +01:00
2011-12-06 11:15:25 +00:00
2012-08-25 09:20:40 +01:00
2012-04-13 14:05:42 +01:00
2011-07-02 10:56:10 +01:00
2011-07-02 10:56:10 +01:00
2011-07-02 10:56:10 +01:00
2012-03-28 18:30:01 +01:00
2011-12-06 14:04:14 +00:00
2011-12-06 14:04:14 +00:00
2011-12-06 14:04:14 +00:00
2011-12-06 14:04:14 +00:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-03-28 18:30:01 +01:00
2012-05-02 11:12:49 +01:00
2011-12-08 10:30:39 +00:00
2012-05-22 09:41:01 -07:00
2011-12-06 14:04:14 +00:00
2011-12-06 14:04:14 +00:00
2009-12-14 14:53:22 +00:00
2012-07-09 17:41:10 +01:00
2012-07-09 17:41:10 +01:00
2011-12-08 10:30:39 +00:00
2012-04-15 22:00:31 +01:00
2011-12-06 14:04:14 +00:00
2011-12-06 14:04:14 +00:00
2011-07-22 23:09:07 +01:00
2011-07-07 15:31:12 +01:00
2011-07-07 15:31:12 +01:00
2011-07-07 15:31:12 +01:00
2011-07-22 23:09:07 +01:00
2012-08-11 09:16:00 +01:00
2012-01-23 10:23:57 +00:00
2012-05-21 15:06:23 +02:00