Use unique_xmalloc_ptr in env_execute_cli_command
authorTom Tromey <tom@tromey.com>
Sun, 13 Aug 2017 16:57:05 +0000 (10:57 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 3 Sep 2017 19:03:04 +0000 (13:03 -0600)
commite91a1fa7d49482565b5f96a2ca9e51ce6327c4ae
tree26c1f69c6f5790c9ee77475e17a012873c9b9aa5
parent7ffd83d70f2792a8a538e8599959a6ed7f5b751d
Use unique_xmalloc_ptr in env_execute_cli_command

Change env_execute_cli_command to use unique_xmalloc_ptr, removing a
cleanup.

ChangeLog
2017-09-03  Tom Tromey  <tom@tromey.com>

* mi/mi-cmd-env.c (env_execute_cli_command): Use
gdb::unique_xmalloc_ptr.
gdb/ChangeLog
gdb/mi/mi-cmd-env.c