fix cleanup handling in macho_symfile_read
authorTom Tromey <tromey@redhat.com>
Thu, 30 May 2013 17:06:31 +0000 (17:06 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 30 May 2013 17:06:31 +0000 (17:06 +0000)
commite42d0aa5bac43efc5556ca0e6ad18effd04de4ea
tree34e4bee96cd47f5faa976088bbb1a3cd09c7c184
parent4bbc010a2d22fd94bdf00fa0568481701e69eb69
fix cleanup handling in macho_symfile_read

macho_symfile_read leaks a cleanup by assigning to 'back_to' too late.

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