core: Fix freeing external profile record
core: Fix freeing external profile record

The add_record_to_server function takes ownership of the service record
so it only needs to be freed if the function fails.

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