This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2] solib_target_free_so memory leak
- From: Tom Tromey <tom at tromey dot com>
- To: "Hannes Domani via gdb-patches" <gdb-patches at sourceware dot org>
- Cc: Hannes Domani <ssbssa at yahoo dot de>
- Date: Fri, 03 Jan 2020 09:49:51 -0700
- Subject: Re: [PATCH v2] solib_target_free_so memory leak
- References: <20191227124532.5959-1-ssbssa.ref@yahoo.de> <20191227124532.5959-1-ssbssa@yahoo.de>
>>>>> "Hannes" == Hannes Domani via gdb-patches <gdb-patches@sourceware.org> writes:
Hannes> gdb/ChangeLog:
Hannes> 2019-12-27 Hannes Domani <ssbssa@yahoo.de>
Hannes> * solib-target.c (struct lm_info_target):
Hannes> Change offsets to be a unique_xmalloc_ptr.
Hannes> (solib_target_relocate_section_addresses): Update.
Thank you.
Hannes> + li->offsets.reset((struct section_offsets *)
Needs a space before that first open paren.
Hannes> + li->offsets.get(),
Likewise.
This is ok with those changes.
Tom