This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog solib-target.c
- From: muller at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 14 Dec 2012 23:27:13 -0000
- Subject: src/gdb ChangeLog solib-target.c
CVSROOT: /cvs/src
Module name: src
Changes by: muller@sourceware.org 2012-12-14 23:27:13
Modified files:
gdb : ChangeLog solib-target.c
Log message:
* solib-target.c (solib_target_current_sos): Remove 'const'
qualifier from type of library_document local variable to be
able to free it and avoid a memory leak.
Use cleanup chain to avoid leak even if exceptino is generated.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14927&r2=1.14928
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/solib-target.c.diff?cvsroot=src&r1=1.24&r2=1.25