mirror of
https://github.com/frida/tinycc
synced 2025-01-17 16:59:19 +03:00
was hash, not link
This commit is contained in:
parent
7f51aa13e7
commit
7bebf1f59a
2
tcc.c
2
tcc.c
@ -1286,7 +1286,7 @@ static void free_section(Section *s)
|
||||
{
|
||||
if (s->link && (s->link->sh_flags & SHF_PRIVATE))
|
||||
free_section(s->link);
|
||||
if (s->hash && (s->link->sh_flags & SHF_PRIVATE))
|
||||
if (s->hash && (s->hash->sh_flags & SHF_PRIVATE))
|
||||
s->hash->link = NULL, free_section(s->hash);
|
||||
tcc_free(s->data);
|
||||
tcc_free(s);
|
||||
|
Loading…
Reference in New Issue
Block a user