diff options
author | Pierre Muller <muller@sourceware.org> | 2012-12-14 23:27:13 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2012-12-14 23:27:13 +0000 |
commit | b25d79d436158060439a2ba989acc84259f3a369 (patch) | |
tree | a554de20ef604d09b52adbf03f40ba6eaa678e0b /gdb/sparc64-tdep.h | |
parent | 774094928e3d322fc18bf8d8327cd665819a3796 (diff) | |
download | gdb-b25d79d436158060439a2ba989acc84259f3a369.zip gdb-b25d79d436158060439a2ba989acc84259f3a369.tar.gz gdb-b25d79d436158060439a2ba989acc84259f3a369.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/sparc64-tdep.h')
0 files changed, 0 insertions, 0 deletions