summaryrefslogtreecommitdiffstats
path: root/libdw/dwarf_end.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdw/dwarf_end.c')
-rw-r--r--libdw/dwarf_end.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/libdw/dwarf_end.c b/libdw/dwarf_end.c
index 2108063d..6c6d985a 100644
--- a/libdw/dwarf_end.c
+++ b/libdw/dwarf_end.c
@@ -57,24 +57,6 @@ cu_free (void *arg)
}
-#if USE_ZLIB
-void
-internal_function
-__libdw_free_zdata (Dwarf *dwarf)
-{
- unsigned int gzip_mask = dwarf->sectiondata_gzip_mask;
- while (gzip_mask != 0)
- {
- int i = ffs (gzip_mask);
- assert (i > 0);
- --i;
- assert (i < IDX_last);
- free (dwarf->sectiondata[i]);
- gzip_mask &= ~(1U << i);
- }
-}
-#endif
-
int
dwarf_end (Dwarf *dwarf)
{
@@ -110,8 +92,6 @@ dwarf_end (Dwarf *dwarf)
/* Free the pubnames helper structure. */
free (dwarf->pubnames_sets);
- __libdw_free_zdata (dwarf);
-
/* Free the ELF descriptor if necessary. */
if (dwarf->free_elf)
elf_end (dwarf->elf);