summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2010-09-06 14:53:52 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-09-07 10:26:47 -0400
commitea347b1e07843f7dfc2a0880e2283ee3e63caf4b (patch)
tree057e5e6102ba570592bc473801dd445775997c81 /src
parent8592686dfcd2e682e847a136716f840b35f639de (diff)
downloadsssd-ea347b1e07843f7dfc2a0880e2283ee3e63caf4b.tar.gz
sssd-ea347b1e07843f7dfc2a0880e2283ee3e63caf4b.tar.bz2
sssd-ea347b1e07843f7dfc2a0880e2283ee3e63caf4b.zip
Fixed small issue in memory context hierarchy
In fail_over.c, there was a small bug causing subrequest to have wrong parent memory context. This patch fixes it.
Diffstat (limited to 'src')
-rw-r--r--src/providers/fail_over.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/fail_over.c b/src/providers/fail_over.c
index fe35994f..2afeff8d 100644
--- a/src/providers/fail_over.c
+++ b/src/providers/fail_over.c
@@ -1175,7 +1175,7 @@ resolve_get_domain_send(TALLOC_CTX *mem_ctx,
state->hostname[HOST_NAME_MAX-1] = '\0';
DEBUG(7, ("Host name is: %s\n", state->hostname));
- subreq = resolv_gethostbyname_send(mem_ctx, ev, resolv,
+ subreq = resolv_gethostbyname_send(state, ev, resolv,
state->hostname,
foctx->opts->family_order);
if (!subreq) {