mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
- fix typo (Cristian Ionescu-Idbohrn)
This commit is contained in:
parent
24a131ea4d
commit
5606b1c4f3
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user