This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Use gdb::unique_xmalloc_ptr<char> in command_line_input to fix a leak
- From: Tom Tromey <tom at tromey dot com>
- To: Philippe Waroquiers <philippe dot waroquiers at skynet dot be>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 31 Dec 2018 09:01:38 -0700
- Subject: Re: [RFA] Use gdb::unique_xmalloc_ptr<char> in command_line_input to fix a leak
- References: <20181231081939.9180-1-philippe.waroquiers@skynet.be>
>>>>> "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