plugin: Call dlclose before return in try_load_plugin
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 19 Feb 2020 11:29:51 +0000 (03:29 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 19 Feb 2020 11:30:02 +0000 (03:30 -0800)
commitdcf06b89b9129da6988878a77afdd02d3acc2e30
tree5b118ce15ffc85f051d3497b3fc0f939ce168124
parent86cbc5dc163fb8f0927b82d5f0e3809a3820389b
plugin: Call dlclose before return in try_load_plugin

Since plugin can be used only once in try_load_plugin, call dlclose
before return.

PR binutils/25355
* plugin.c (plugin_list_entry): Remove handle.
(try_load_plugin): Call dlclose before return.
bfd/ChangeLog
bfd/plugin.c
This page took 0.038682 seconds and 4 git commands to generate.