summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbindd_async.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-04-27 23:18:41 +0000
committerJeremy Allison <jra@samba.org>2007-04-27 23:18:41 +0000
commit04fd9ba97be2034004c20eab00c89099e6883bea (patch)
treed72ebd488852f73cd035da10e2215d243d0fb354 /source/nsswitch/winbindd_async.c
parent3d32042d58bdb4b9f4e6564ced87efc88478681b (diff)
downloadsamba-04fd9ba97be2034004c20eab00c89099e6883bea.tar.gz
samba-04fd9ba97be2034004c20eab00c89099e6883bea.tar.xz
samba-04fd9ba97be2034004c20eab00c89099e6883bea.zip
r22542: Move over to using the _strict varients of the talloc
calls. No functional changes. Looks bigger than it is :-). Jeremy.
Diffstat (limited to 'source/nsswitch/winbindd_async.c')
-rw-r--r--source/nsswitch/winbindd_async.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/nsswitch/winbindd_async.c b/source/nsswitch/winbindd_async.c
index aa48f513e97..a8a92c3caea 100644
--- a/source/nsswitch/winbindd_async.c
+++ b/source/nsswitch/winbindd_async.c
@@ -276,13 +276,13 @@ enum winbindd_result winbindd_dual_sids2xids(struct winbindd_domain *domain,
sids = (DOM_SID *)state->request.extra_data.data;
num = state->request.extra_len / sizeof(DOM_SID);
- ids = talloc_zero_array(state->mem_ctx, struct id_map *, num + 1);
+ ids = TALLOC_ZERO_ARRAY(state->mem_ctx, struct id_map *, num + 1);
if ( ! ids) {
DEBUG(0, ("Out of memory!\n"));
return WINBINDD_ERROR;
}
for (i = 0; i < num; i++) {
- ids[i] = talloc(ids, struct id_map);
+ ids[i] = TALLOC_P(ids, struct id_map);
if ( ! ids[i]) {
DEBUG(0, ("Out of memory!\n"));
talloc_free(ids);