- fix typo (Cristian Ionescu-Idbohrn)
This commit is contained in:
@ -3082,7 +3082,7 @@ static void obj_allocate_commons(struct obj_file *f)
|
|||||||
if (i == f->header.e_shnum) {
|
if (i == f->header.e_shnum) {
|
||||||
struct obj_section *sec;
|
struct obj_section *sec;
|
||||||
|
|
||||||
f->sections = xrealloc(f->sections, 2, i);
|
f->sections = xrealloc_vector(f->sections, 2, i);
|
||||||
f->sections[i] = sec = arch_new_section();
|
f->sections[i] = sec = arch_new_section();
|
||||||
f->header.e_shnum = i + 1;
|
f->header.e_shnum = i + 1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user