From: Zhou wenjian <zhouwj-fnst@xxxxxxxxxxxxxx> free_bitmap_buffer() in create_dump_bitmap() includes free_bitmap2_buffer(). So delete free_bitmap2_buffer(). Signed-off-by: Zhou wenjian <zhouwj-fnst at cn.fujitsu.com> --- makedumpfile.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/makedumpfile.c b/makedumpfile.c index cc71f20..7f2949c 100644 --- a/makedumpfile.c +++ b/makedumpfile.c @@ -5933,9 +5933,6 @@ create_dump_bitmap(void) info->num_dumpable = get_num_dumpable_cyclic(); - if (!info->flag_elf_dumpfile) - free_bitmap2_buffer(); - } else { struct cycle cycle = {0}; first_cycle(0, info->max_mapnr, &cycle); -- 1.7.1