From 10a51211bf8c634a82f52f3b7c0fe0de0ddbab86 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Mon, 5 Oct 2009 09:38:29 +0200 Subject: remove redundant talloc_free - this patch should fix bug #213, a double free in the sdap timeout handler --- server/providers/ldap/sdap_async.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'server') 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, -- cgit