Fix termux-elf-cleaner.cpp to not break after first removed section

This commit is contained in:
Fredrik Fornwall 2015-07-30 08:22:41 -04:00
parent 2ed8eb1320
commit 1ceaf1eee7

View File

@ -72,7 +72,6 @@ bool process_elf(uint8_t* bytes, size_t elf_file_size)
dynamic_section_entry->d_tag = DT_NULL;
// Decrease j to process new entry index:
std::swap(dynamic_section[j--], dynamic_section[last_nonnull_entry_idx--]);
break;
}
}
}