diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-10-23 23:25:27 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-10-29 17:10:02 +0100 |
commit | 644db36ab1111b88abca57d2438b72d618403dde (patch) | |
tree | 557fd442d129756e948846189a2e00a3bae244c3 | |
parent | ac7a7ee3d1e138818a1ed78758f7dd3c3306a56b (diff) | |
download | sssd-644db36ab1111b88abca57d2438b72d618403dde.tar.gz sssd-644db36ab1111b88abca57d2438b72d618403dde.tar.bz2 sssd-644db36ab1111b88abca57d2438b72d618403dde.zip |
Free the internal DP request
-rw-r--r-- | src/responder/common/responder_dp.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/responder/common/responder_dp.c b/src/responder/common/responder_dp.c index 34fc9f34..ecd5f39c 100644 --- a/src/responder/common/responder_dp.c +++ b/src/responder/common/responder_dp.c @@ -761,4 +761,12 @@ static void sss_dp_internal_get_done(DBusPendingCall *pending, void *ptr) * This will clean up the hash table entry as well */ talloc_zfree(sdp_req); + + /* Free the sidereq to free the rest of the memory allocated with the + * internal dp request. */ + if (ret == EOK) { + tevent_req_done(req); + } else { + tevent_req_error(req, ret); + } } |