This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Place displaced step data directly in inferior structure


On Fri, 2018-11-23 at 21:05 +0000, Simon Marchi wrote:
> At the same time, I changed step_saved_copy to be a gdb::byte_vector, so
> it is automatically freed on destruction (which should plug the leak
> reported here [1]).
> 
> [1] https://sourceware.org/ml/gdb-patches/2018-11/msg00202.html
Re-tested with your patch+valgrind, and the leak is effectively fixed.


The re-testing shown that the 'open_source_file' leak was re-introduced
(which I re-fixed as under the obvious rule) and some definitely leaked
blocks in linespec.c.

I will investigate ...

Philippe


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]