diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-02-19 03:29:51 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-02-19 03:30:02 -0800 |
commit | dcf06b89b9129da6988878a77afdd02d3acc2e30 (patch) | |
tree | 5b118ce15ffc85f051d3497b3fc0f939ce168124 /etc | |
parent | 86cbc5dc163fb8f0927b82d5f0e3809a3820389b (diff) | |
download | gdb-dcf06b89b9129da6988878a77afdd02d3acc2e30.zip gdb-dcf06b89b9129da6988878a77afdd02d3acc2e30.tar.gz gdb-dcf06b89b9129da6988878a77afdd02d3acc2e30.tar.bz2 |
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.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions