was hash, not link

tcc-xref
grischka 2008-09-15 02:07:55 +02:00
parent 7f51aa13e7
commit 7bebf1f59a
1 changed files with 1 additions and 1 deletions

2
tcc.c
View File

@ -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);