diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM index e7c01246c..da0b43bff 100644 --- a/WHATS_NEW_DM +++ b/WHATS_NEW_DM @@ -1,7 +1,7 @@ Version 1.02.68 - ================================== Fix valgrind error reports in free of pool chunks with DEBUG_MEM. - Aling size of structure chunk for fast pool allocator to 8 bytes. + Align size of structure chunk for fast pool allocator to 8 bytes. Simplify some pointer operations in dm_free_aux() debug code. Remove unused dbg_malloc.h file from source tree. Cleanup backtraces for _create_and_load_v4(). diff --git a/libdm/mm/pool-fast.c b/libdm/mm/pool-fast.c index e14d073ca..491c14207 100644 --- a/libdm/mm/pool-fast.c +++ b/libdm/mm/pool-fast.c @@ -23,7 +23,7 @@ struct chunk { char *begin, *end; struct chunk *prev; -}; +} __attribute__((aligned(8))); struct dm_pool { struct dm_list list;