Re: [RFC] Fix BFD leak in solib-darwin.c

Pedro Alves
2019-02-23T00:32:12Z

On 02/22/2019 04:36 PM, Tom Tromey wrote:
> if (sub != NULL)
> dyld_bfd = sub;
> else
> - dyld_bfd.release ();
> + dyld_bfd.reset (nullptr);

These 4 lines are now equivalent to just doing:

dyld_bfd = sub;

Thanks,
Pedro Alves