diff options
author | Günther Deschner <gd@samba.org> | 2008-01-03 12:10:27 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-01-03 12:11:18 +0100 |
commit | 2c072ac87910208780a8e03cb3cea687d874b613 (patch) | |
tree | 10fca276ac3959af47e02f963d3e057b24b6aeb6 /source3/nsswitch/libwbclient/wbc_sid.c | |
parent | 0240d175bf896230891a3ffadba747a0143d9232 (diff) | |
download | samba-2c072ac87910208780a8e03cb3cea687d874b613.tar.gz samba-2c072ac87910208780a8e03cb3cea687d874b613.tar.bz2 samba-2c072ac87910208780a8e03cb3cea687d874b613.zip |
Some coding convention pedantism.
Guenther
(This used to be commit 338baf96cb957fa52e312d42fbf0fa227d7dafda)
Diffstat (limited to 'source3/nsswitch/libwbclient/wbc_sid.c')
-rw-r--r-- | source3/nsswitch/libwbclient/wbc_sid.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/nsswitch/libwbclient/wbc_sid.c b/source3/nsswitch/libwbclient/wbc_sid.c index 8311a21a86..abe1457cc1 100644 --- a/source3/nsswitch/libwbclient/wbc_sid.c +++ b/source3/nsswitch/libwbclient/wbc_sid.c @@ -392,7 +392,7 @@ wbcErr wbcLookupRids(struct wbcDomainSid *dom_sid, *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; } @@ -405,10 +405,10 @@ wbcErr wbcLookupRids(struct wbcDomainSid *dom_sid, 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); @@ -421,4 +421,4 @@ wbcErr wbcLookupRids(struct wbcDomainSid *dom_sid, } return wbc_status; -} +} |