Revert "fence-virt: Fix possible descriptor leak"

This reverts commit d093fecd8e.
This commit is contained in:
Ryan McCabe 2012-10-26 18:15:31 -04:00
parent 0de5dd3ac9
commit 5e7e247f00

View File

@ -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);