mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 01:50:48 +00:00
* 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.
This commit is contained in:
@@ -865,6 +865,9 @@ add_packet_config_cmd (struct packet_config *config, const char *name,
|
||||
set_remote_protocol_packet_cmd,
|
||||
show_remote_protocol_packet_cmd,
|
||||
&remote_set_cmdlist, &remote_show_cmdlist);
|
||||
/* The command code copies the documentation strings. */
|
||||
xfree (set_doc);
|
||||
xfree (show_doc);
|
||||
/* set/show remote NAME-packet {auto,on,off} -- legacy. */
|
||||
if (legacy)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user