aboutsummaryrefslogtreecommitdiff
path: root/tccelf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccelf.c')
-rw-r--r--tccelf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tccelf.c b/tccelf.c
index 036dba3..6bde7d5 100644
--- a/tccelf.c
+++ b/tccelf.c
@@ -2444,6 +2444,7 @@ static int elf_output_file(TCCState *s1, const char *filename)
tcc_free(sec_order);
tcc_free(phdr);
tcc_free(s1->sym_attrs);
+ s1->sym_attrs = NULL;
return ret;
}