summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2014-08-21 09:11:38 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-08-22 10:51:45 +0200
commitf55d45b931ce6c01e005ae94a69e93abda0d2f1c (patch)
treeaec01fa124ab5ca35da8b24328749ab4615162fd
parent1a783fb0be9a48a0abdfe8b52fce551d530487ce (diff)
downloadsssd-f55d45b931ce6c01e005ae94a69e93abda0d2f1c.tar.gz
sssd-f55d45b931ce6c01e005ae94a69e93abda0d2f1c.tar.xz
sssd-f55d45b931ce6c01e005ae94a69e93abda0d2f1c.zip
SDAP: free subrequest in sdap_dyndns_update_addrs_done
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
-rw-r--r--src/providers/ldap/sdap_dyndns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_dyndns.c b/src/providers/ldap/sdap_dyndns.c
index 1c5611b04..e8e616c32 100644
--- a/src/providers/ldap/sdap_dyndns.c
+++ b/src/providers/ldap/sdap_dyndns.c
@@ -163,6 +163,7 @@ sdap_dyndns_update_addrs_done(struct tevent_req *subreq)
state = tevent_req_data(req, struct sdap_dyndns_update_state);
ret = sdap_dyndns_get_addrs_recv(subreq, state, &state->addresses);
+ talloc_zfree(subreq);
if (ret != EOK) {
DEBUG(SSSDBG_OP_FAILURE, "Can't get addresses for DNS update\n");
tevent_req_error(req, ret);