Fix possible memory leak on plugin failure and make plugin_init fail if the configured directory is invalid.
Fix possible memory leak on plugin failure and make plugin_init fail if the configured directory is invalid.

mapfau/bluez,ComputeCycles/bluez,silent-snowman/bluez,pkarasev3/bluez,pstglia/external-bluetooth-bluez,mapfau/bluez,silent-snowman/bluez,silent-snowman/bluez,pkarasev3/bluez,mapfau/bluez,pstglia/external-bluetooth-bluez,pstglia/external-bluetooth-bluez,mapfau/bluez,pkarasev3/bluez,silent-snowman/bluez,pkarasev3/bluez,ComputeCycles/bluez,ComputeCycles/bluez,ComputeCycles/bluez,pstglia/external-bluetooth-bluez