Revert "fix cleanup handling in macho_symfile_read"
authorJoel Brobecker <brobecker@gnat.com>
Mon, 3 Jun 2013 13:22:29 +0000 (13:22 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Mon, 3 Jun 2013 13:22:29 +0000 (13:22 +0000)
commitf6aea118f840ab0df3071dd19eaeea472a15a5ef
tree4d5fed61b71590bd3e263a380d2691899c93014b
parentfa549f3baada1dee1b69af1b4db60f8f04bcfae0
Revert "fix cleanup handling in macho_symfile_read"

This patch indirectly causes a SEGV by creating a dangling pointer.
Reverting this patch while working on a clearer memory management
method for this part of the code.

gdb/Changelog:

        Revert:
        * machoread.c (macho_symfile_read): Assign first cleanup to
        'back_to'.
gdb/ChangeLog
gdb/machoread.c