Changeset 39 for trunk/samba/source/nsswitch/wb_client.c
- Timestamp:
- May 27, 2007, 12:26:26 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/samba/source/nsswitch/wb_client.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/samba/source/nsswitch/wb_client.c
r1 r39 166 166 *domain_name = talloc_strdup(mem_ctx, response.data.domain_name); 167 167 168 *names = TALLOC_ARRAY(mem_ctx, const char *, num_rids); 169 *types = TALLOC_ARRAY(mem_ctx, enum lsa_SidType, num_rids); 170 171 if ((*names == NULL) || (*types == NULL)) { 172 goto fail; 168 if (num_rids) { 169 *names = TALLOC_ARRAY(mem_ctx, const char *, num_rids); 170 *types = TALLOC_ARRAY(mem_ctx, enum lsa_SidType, num_rids); 171 172 if ((*names == NULL) || (*types == NULL)) { 173 goto fail; 174 } 175 } else { 176 *names = NULL; 177 *types = NULL; 173 178 } 174 179
Note:
See TracChangeset
for help on using the changeset viewer.
