summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbindd_async.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-12-16 01:32:57 +0000
committerJeremy Allison <jra@samba.org>2006-12-16 01:32:57 +0000
commit37151b7069d16b12aa7f5f9859642972b39d67e3 (patch)
tree9e93d18c94c6cf4b1141f35a88d0203773a199e5 /source/nsswitch/winbindd_async.c
parent4315848221f0689a012f8d9503aba37b967ec9f5 (diff)
downloadsamba-37151b7069d16b12aa7f5f9859642972b39d67e3.tar.gz
samba-37151b7069d16b12aa7f5f9859642972b39d67e3.tar.xz
samba-37151b7069d16b12aa7f5f9859642972b39d67e3.zip
r20206: Start cleaning up the talloc_ctx mess.
child->mem_ctx isn't actually used for anything, so remove it. Jeremy.
Diffstat (limited to 'source/nsswitch/winbindd_async.c')
-rw-r--r--source/nsswitch/winbindd_async.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/nsswitch/winbindd_async.c b/source/nsswitch/winbindd_async.c
index 09426973e81..93dea6f48cb 100644
--- a/source/nsswitch/winbindd_async.c
+++ b/source/nsswitch/winbindd_async.c
@@ -996,6 +996,9 @@ enum winbindd_result winbindd_dual_lookuprids(struct winbindd_domain *domain,
if (result != NULL) {
state->response.extra_data.data = SMB_STRDUP(result);
+ if (!state->response.extra_data.data) {
+ return WINBINDD_ERROR;
+ }
state->response.length += len+1;
}