[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb-patches
Subject:    [RFAv2] Fix leak due to assigning a xstrdup-ed string to the std::string gdb_datadir
From:       tom () tromey ! com (Tom Tromey)
Date:       2019-09-30 21:23:00
Message-ID: 87k19p7a2f.fsf () tromey ! com
[Download RAW message or body]

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

Philippe> gdb/ChangeLog
Philippe> YYYY-MM-DD  Philippe Waroquiers  <philippe.waroquiers@skynet.be>

Philippe> 	* main.c (relocate_gdbinit_path_maybe_in_datadir): Remove std::string
Philippe> 	conversion of gdb_datadir.
Philippe> 	(captured_main_1): Remove xstrdup when assigning to gdb_datadir,
Philippe> 	remove not needed c_str ().

Thank you for doing this.  This is ok.

Tom


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic