Revert "fence-virt: Fix possible descriptor leak"
This reverts commit d093fecd8e
.
This commit is contained in:
parent
0de5dd3ac9
commit
5e7e247f00
@ -299,10 +299,8 @@ plugin_load(const char *libpath)
|
||||
}
|
||||
|
||||
if (!backend_plugin_load(handle, libpath) ||
|
||||
!listener_plugin_load(handle, libpath)) {
|
||||
dlclose(handle);
|
||||
!listener_plugin_load(handle, libpath))
|
||||
return 0;
|
||||
}
|
||||
|
||||
dbg_printf(3, "%s is not a valid plugin\n", libpath);
|
||||
dlclose(handle);
|
||||
|
Loading…
Reference in New Issue
Block a user