summaryrefslogtreecommitdiff
path: root/nsswitch/libwbclient/wbc_sid.c
diff options
context:
space:
mode:
Diffstat (limited to 'nsswitch/libwbclient/wbc_sid.c')
-rw-r--r--nsswitch/libwbclient/wbc_sid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nsswitch/libwbclient/wbc_sid.c b/nsswitch/libwbclient/wbc_sid.c
index 20f70b5b91..bbe6827bb6 100644
--- a/nsswitch/libwbclient/wbc_sid.c
+++ b/nsswitch/libwbclient/wbc_sid.c
@@ -511,7 +511,7 @@ wbcErr wbcGetSidAliases(const struct wbcDomainSid *dom_sid,
if (!dom_sid) {
wbc_status = WBC_ERR_INVALID_PARAM;
- BAIL_ON_WBC_ERROR(wbc_status);
+ goto done;
}
wbc_status = wbcSidToString(dom_sid, &sid_string);
@@ -527,7 +527,7 @@ wbcErr wbcGetSidAliases(const struct wbcDomainSid *dom_sid,
extra_data = (char *)malloc(buflen);
if (!extra_data) {
wbc_status = WBC_ERR_NO_MEMORY;
- BAIL_ON_WBC_ERROR(wbc_status);
+ goto done;
}
/* Build the sid list */
@@ -568,7 +568,7 @@ wbcErr wbcGetSidAliases(const struct wbcDomainSid *dom_sid,
if (response.data.num_entries &&
!response.extra_data.data) {
wbc_status = WBC_ERR_INVALID_RESPONSE;
- BAIL_ON_WBC_ERROR(wbc_status);
+ goto done;
}
rids = talloc_array(NULL, uint32_t,