Revert "fence-virt: Fix possible descriptor leak"

This reverts commit d093fecd8ecef0e94a9f6d1f3fa763525fd776a8.
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) || if (!backend_plugin_load(handle, libpath) ||
!listener_plugin_load(handle, libpath)) { !listener_plugin_load(handle, libpath))
dlclose(handle);
return 0; return 0;
}
dbg_printf(3, "%s is not a valid plugin\n", libpath); dbg_printf(3, "%s is not a valid plugin\n", libpath);
dlclose(handle); dlclose(handle);