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.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libdw/dwarf_end.c b/libdw/dwarf_end.c
index e65314ab..241a257a 100644
--- a/libdw/dwarf_end.c
+++ b/libdw/dwarf_end.c
@@ -1,5 +1,5 @@
/* Release debugging handling context.
- Copyright (C) 2002-2011 Red Hat, Inc.
+ Copyright (C) 2002-2011, 2014 Red Hat, Inc.
This file is part of elfutils.
Written by Ulrich Drepper <[email protected]>, 2002.
@@ -111,10 +111,6 @@ dwarf_end (dwarf)
if (dwarf->free_elf)
elf_end (dwarf->elf);
- /* Free the alternative Dwarf descriptor if necessary. */
- if (dwarf->free_alt)
- INTUSE (dwarf_end) (dwarf->alt_dwarf);
-
/* Free the context descriptor. */
free (dwarf);
}