diff options
author | Joe Thornber <ejt@redhat.com> | 2012-07-27 14:08:05 (GMT) |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-07-27 14:08:05 (GMT) |
commit | 905386f82d08f66726912f303f3e6605248c60a3 (patch) | |
tree | 183673431e4a0b76b90488447287cdcf53e1b695 /lib | |
parent | c66029f4d4226452e9a7f468650aa1d553525b81 (diff) | |
download | linux-fsl-qoriq-905386f82d08f66726912f303f3e6605248c60a3.tar.xz |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions