mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
dlclose() handle if the library loaded wasn't a plugin
This commit is contained in:
parent
6a2e43635f
commit
ada22fbf42
1 changed files with 1 additions and 0 deletions
|
@ -254,6 +254,7 @@ bool Manager::ActivateDynamicPluginInternal(const std::string& name, bool ok_if_
|
||||||
{
|
{
|
||||||
errors->push_back(
|
errors->push_back(
|
||||||
util::fmt("load plugin library %s did not instantiate a plugin", path));
|
util::fmt("load plugin library %s did not instantiate a plugin", path));
|
||||||
|
dlclose(hdl);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue