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