[binutils-gdb] ChangeLog for 'Fix 4K leak each time next/step changes of function.'

Philippe Waroquiers philippe@sourceware.org
Mon Nov 5 22:10:00 GMT 2018


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bb20ccab70b378cd3f9cdb6a4c84e2d350e2de8f

commit bb20ccab70b378cd3f9cdb6a4c84e2d350e2de8f
Author: Philippe Waroquiers <philippe.waroquiers@skynet.be>
Date:   Mon Nov 5 23:09:44 2018 +0100

    ChangeLog for 'Fix 4K leak each time next/step changes of function.'

Diff:
---
 gdb/ChangeLog | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bc77fe8..4755ba9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2018-11-04  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+	* source.c (open_source_file): Fix leak by transferring the
+	current s->fullname to the unique_xmalloc_ptr fullname given
+	to find_and_open_source.
+
 2018-11-04  Tom Tromey  <tom@tromey.com>
 
 	* varobj.c (install_default_visualizer): Update.



More information about the Gdb-cvs mailing list