commit | 905386f82d08f66726912f303f3e6605248c60a3 | [log] [tgz] |
---|---|---|
author | Joe Thornber <ejt@redhat.com> | Fri Jul 27 15:08:05 2012 +0100 |
committer | Alasdair G Kergon <agk@redhat.com> | Fri Jul 27 15:08:05 2012 +0100 |
tree | 183673431e4a0b76b90488447287cdcf53e1b695 | |
parent | c66029f4d4226452e9a7f468650aa1d553525b81 [diff] |
dm thin: fix memory leak in process_prepared_mapping error paths Fix memory leak in process_prepared_mapping by always freeing the dm_thin_new_mapping structs from the mapping_pool mempool on the error paths. Signed-off-by: Joe Thornber <ejt@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>