This is the mail archive of the gdb-cvs@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]

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


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.


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