mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-10 05:18:36 +03:00
Fix leaked pool report
Swap pool destruction order in dmeventd_lvm2_exit() to fix leak report.
This commit is contained in:
parent
d3126d15cf
commit
b1007b02c0
@ -1,5 +1,6 @@
|
||||
Version 2.02.75 -
|
||||
=====================================
|
||||
Swap pool destruction order in dmeventd_lvm2_exit() to fix leak report.
|
||||
Read whole /proc/self/maps file before working with maps entries.
|
||||
Speed up unquoting of quoted double quotes and backslashes.
|
||||
Speed up CRC32 calculations by using a larger lookup table.
|
||||
|
@ -131,10 +131,10 @@ void dmeventd_lvm2_exit(void)
|
||||
|
||||
if (!--_register_count) {
|
||||
lvm2_run(_lvm_handle, "_memlock_dec");
|
||||
lvm2_exit(_lvm_handle);
|
||||
_lvm_handle = NULL;
|
||||
dm_pool_destroy(_mem_pool);
|
||||
_mem_pool = NULL;
|
||||
lvm2_exit(_lvm_handle);
|
||||
_lvm_handle = NULL;
|
||||
}
|
||||
|
||||
pthread_mutex_unlock(&_register_mutex);
|
||||
|
Loading…
Reference in New Issue
Block a user