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: [RFA] Use gdb::unique_xmalloc_ptr<char> in command_line_input to fix a leak


>>>>> "Philippe" == Philippe Waroquiers <philippe.waroquiers@skynet.be> writes:

Philippe> gdb/ChangeLog
Philippe> 2018-12-31  Philippe Waroquiers  <philippe.waroquiers@skynet.be>

Philippe> 	* top.c (command_line_input): Use unique_xmalloc_ptr to
Philippe> 	manage memory allocated by readline.

This is ok.  Thank you for doing this.

Tom


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