Unified · Split
| @@ -1286,7 +1286,7 @@ static void free_section(Section *s) · 1285 unmodified lines | ||
| 1286 | 1286 | { |
| 1287 | 1287 | if (s->link && (s->link->sh_flags & SHF_PRIVATE)) |
| 1288 | 1288 | free_section(s->link); |
| 1289 | − if (s->hash && (s->link->sh_flags & SHF_PRIVATE)) | |
| 1289 | + if (s->hash && (s->hash->sh_flags & SHF_PRIVATE)) | |
| 1290 | 1290 | s->hash->link = NULL, free_section(s->hash); |
| 1291 | 1291 | tcc_free(s->data); |
| 1292 | 1292 | tcc_free(s); |