diff options
author | Tom Tromey <tromey@redhat.com> | 2009-08-18 16:17:16 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2009-08-18 16:17:16 +0000 |
commit | 1eefb8588aa1c49d7d5a5c96c16c3b790ab2e802 (patch) | |
tree | f0f61b0c2b5247cbb09db68860035744d82253d1 /gdb/utils.c | |
parent | a8d1234eac953c71e48f3c09d9254976381c27cf (diff) | |
download | gdb-1eefb8588aa1c49d7d5a5c96c16c3b790ab2e802.zip gdb-1eefb8588aa1c49d7d5a5c96c16c3b790ab2e802.tar.gz gdb-1eefb8588aa1c49d7d5a5c96c16c3b790ab2e802.tar.bz2 |
* utils.c (add_internal_problem_command): Free set_doc and
show_doc.
* remote.c (add_packet_config_cmd): Free set_doc and show_doc.
* language.c (add_language): Free language_set_doc.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index 5fa2f26..16ad084 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -1098,6 +1098,9 @@ Show whether GDB will quit when an %s is detected"), set_cmd_list, show_cmd_list); + xfree (set_doc); + xfree (show_doc); + set_doc = xstrprintf (_("\ Set whether GDB should create a core file of GDB when %s is detected"), problem->name); @@ -1114,6 +1117,9 @@ Show whether GDB will create a core file of GDB when %s is detected"), NULL, /* showfunc */ set_cmd_list, show_cmd_list); + + xfree (set_doc); + xfree (show_doc); } /* Print the system error message for errno, and also mention STRING |