commit | a32079ce17899192a7b98a42753be467605a8b2f | [log] [tgz] |
---|---|---|
author | Jonathan Brassow <jbrassow@redhat.com> | Thu Apr 02 19:55:35 2009 +0100 |
committer | Alasdair G Kergon <agk@redhat.com> | Thu Apr 02 19:55:35 2009 +0100 |
tree | 116fefba16427c16cb792e218889aa971eab755b | |
parent | 1e302a929e2da6e8448e2058e4b07b07252b57fe [diff] |
dm snapshot: persistent fix dtr cleanup The persistent exception store destructor does not properly account for all conditions in which it can be called. If it is called after 'ctr' but before 'read_metadata' (e.g. if something else in 'snapshot_ctr' fails) then it will attempt to free areas of memory that haven't been allocated yet. Signed-off-by: Jonathan Brassow <jbrassow@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>