This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix using_directive memory leak pr 11236
>>>>> "Sami" == Sami Wagiaalla <swagiaal@redhat.com> writes:
Sami> 2010-03-09 Sami Wagiaalla <swagiaal@redhat.com>
Sami> PR C++/11236:
Sami> * cp-namespace.c (cp_add_using): Deleted.
Sami> (cp_add_using_directive): Use obstack allocations.
Sami> Merged the function cp_add_using into this one.
Sami> Added 'struct obstack *' argument.
Sami> (cp_scan_for_anonymous_namespaces): Updated.
Sami> * cp-support.h: Updated.
Sami> * dwarf2read.c (read_import_statement): Updated.
Sami> (read_namespace): Updated.
This is ok, thanks.
Tom