Remove cleanup from try_open_exec_file
authorTom Tromey <tom@tromey.com>
Thu, 30 Aug 2018 05:05:54 +0000 (23:05 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 13 Sep 2018 22:22:34 +0000 (16:22 -0600)
commit97e67fc62045723db7af6d323ce9c428666ab6f5
treec34d83790ee9520856f90f239045b625c28adb08
parent803c08d083556154cd4d27368e58b359e9de8b93
Remove cleanup from try_open_exec_file

This removes a cleanup from try_open_exec_file, using std::string to
manage the storage instead.

gdb/ChangeLog
2018-09-13  Tom Tromey  <tom@tromey.com>

* exec.c (try_open_exec_file): Use std::string.
gdb/ChangeLog
gdb/exec.c