*q = '\0';
(*names)[i] = talloc_strdup((*names), p);
- BAIL_ON_PTR_ERROR(((*names)[i]), wbc_status);
+ BAIL_ON_PTR_ERROR(((*names)[i]), wbc_status);
p = q+1;
}
wbc_status = WBC_ERR_SUCCESS;
done:
- if (response.extra_data.data) {
+ if (response.extra_data.data) {
free(response.extra_data.data);
- }
-
+ }
+
if (!WBC_ERROR_IS_OK(wbc_status)) {
if (domain_name)
talloc_free(domain_name);
}
return wbc_status;
-}
+}