summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-10-05 09:38:29 +0200
committerSimo Sorce <ssorce@redhat.com>2009-10-05 17:05:48 -0400
commit10a51211bf8c634a82f52f3b7c0fe0de0ddbab86 (patch)
tree174975c9993404de97bffb4e5b5db841159fc183 /server
parentf63600fa2e75c833be7c100eb6797ba15f1cc379 (diff)
downloadsssd-10a51211bf8c634a82f52f3b7c0fe0de0ddbab86.tar.gz
sssd-10a51211bf8c634a82f52f3b7c0fe0de0ddbab86.tar.bz2
sssd-10a51211bf8c634a82f52f3b7c0fe0de0ddbab86.zip
remove redundant talloc_free
- this patch should fix bug #213, a double free in the sdap timeout handler
Diffstat (limited to 'server')
-rw-r--r--server/providers/ldap/sdap_async.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/server/providers/ldap/sdap_async.c b/server/providers/ldap/sdap_async.c
index c3ca53ed..f68a31cc 100644
--- a/server/providers/ldap/sdap_async.c
+++ b/server/providers/ldap/sdap_async.c
@@ -390,9 +390,6 @@ static void sdap_op_timeout(struct tevent_req *req)
/* signal the caller that we have a timeout */
op->callback(op, NULL, ETIMEDOUT, op->data);
-
- /* send back to the server an abandon (see destructor) and free the op */
- talloc_free(op);
}
static int sdap_op_add(TALLOC_CTX *memctx, struct tevent_context *ev,