Re-fix leak in source.c (open_source_file).
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 24 Nov 2018 11:42:24 +0000 (12:42 +0100)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 24 Nov 2018 11:42:24 +0000 (12:42 +0100)
commit5446094655df842abb4ababac39f34c6342e8da3
treecd1bbb46f4f66e94a76e015efb891ec981b108db
parentf5e0fe29ee3b3b9a27a68aacdb6950fa22372099
Re-fix leak in source.c (open_source_file).

Leak fixed in '8e6a5953e1d Fix 4K leak in open_source_file' has been partially
undone by '2179fbc36d23 Return scoped_fd from open_source_file'. Re-add the
transfer of current s->fullname to the unique_xmalloc_ptr fullname given to
find_and_open_source.
gdb/ChangeLog
gdb/source.c