add free (counts)

Signed-off-by: zhangcan42 <zhangcan42@h-partners.com>
This commit is contained in:
zhangcan42
2024-09-23 09:24:50 +00:00
committed by Gitee
parent 00361fb454
commit 1b50a489f6
+1
View File
@@ -3248,6 +3248,7 @@ print_hash_info (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr, size_t shstrndx,
{
error (0, 0, _("invalid sh_link value in section %zu"),
elf_ndxscn (scn));
free (counts);
return;
}