* jit.c (jit_object_close_impl): Don't malloc the objfile
authorTom Tromey <tromey@redhat.com>
Wed, 22 Aug 2012 16:44:45 +0000 (16:44 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 22 Aug 2012 16:44:45 +0000 (16:44 +0000)
commite1507e953ec06f50f83f0bbc2b50a7f3b11f4022
tree3d41d055dcf029eefad47eb986ad8559430e1740
parent1c00ec6b06aa852351b7eebd64b4f1604766e818
* jit.c (jit_object_close_impl): Don't malloc the objfile
name.
* objfiles.c (allocate_objfile): Don't malloc the objfile
name.
(free_objfile): Don't free the objfile name.
* objfiles.h (struct objfile) <name>: Update comment.
* symfile.c (reread_symbols): Fix reference counting.  Don't
malloc objfile name.
gdb/ChangeLog
gdb/jit.c
gdb/objfiles.c
gdb/objfiles.h
gdb/symfile.c