[PATCH] plugin: Call dlclose before return in try_load_plugin
Alan Modra
amodra@gmail.com
Wed Feb 19 04:59:00 GMT 2020
On Tue, Feb 18, 2020 at 04:50:16AM -0800, H.J. Lu wrote:
> Since plugin can be used only once in try_load_plugin, call dlclose
> before return.
>
> OK for master and 2.34 branch?
>
> PR binutils/25355
> * plugin.c (plugin_list_entry): Remove handle.
> (try_load_plugin): Call dlclose before return.
Looks OK to me.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list