summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-03-02 08:55:49 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-03-05 15:52:41 -0500
commit74f857536411b46712f9b3dc0f1c53924b36dc02 (patch)
tree6b9647535bbf94e5445a0f8a446aee1f8d5b098a
parentdb6aabf673b5d4d12af00ab1d0ab8a56d7dc7aee (diff)
downloadsssd-74f857536411b46712f9b3dc0f1c53924b36dc02.tar.gz
sssd-74f857536411b46712f9b3dc0f1c53924b36dc02.tar.xz
sssd-74f857536411b46712f9b3dc0f1c53924b36dc02.zip
IPA: Fix segfault with srchost functionality enabled
https://fedorahosted.org/sssd/ticket/1215
-rw-r--r--src/providers/ipa/ipa_hosts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_hosts.c b/src/providers/ipa/ipa_hosts.c
index b8982054f..5252ac9b4 100644
--- a/src/providers/ipa/ipa_hosts.c
+++ b/src/providers/ipa/ipa_hosts.c
@@ -266,8 +266,8 @@ ipa_host_info_done(struct tevent_req *subreq)
tevent_req_error(req, EIO);
return;
}
+ tevent_req_set_callback(subreq, ipa_hostgroup_info_done, req);
}
- tevent_req_set_callback(subreq, ipa_hostgroup_info_done, req);
} else {
/* Nothing else to do, just complete the req */
tevent_req_done(req);