}
}
+ if (uuid_str == NULL || gp_char_array == NULL) {
+ ERR("uuid_str and gp_char_array should be set");
+ goto done;
+ }
+
/* Create new service */
_gattc_create_new_service(server_info, is_primary, uuid_str, service_path, gp_char_array);
+done:
g_variant_iter_free(property_iter);
g_variant_unref(result);
g_object_unref(properties_proxy);