From 89fd87d31b55634f9b989c327f513d93f19bb5ba Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Wed, 13 Jul 2011 12:53:10 +0200 Subject: [PATCH] Do not call talloc_free() on uninitialized memory --- src/providers/ldap/sdap_async_connection.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/providers/ldap/sdap_async_connection.c b/src/providers/ldap/sdap_async_connection.c index 5d1fb34..399f114 100644 --- a/src/providers/ldap/sdap_async_connection.c +++ b/src/providers/ldap/sdap_async_connection.c @@ -1133,6 +1133,7 @@ struct tevent_req *sdap_cli_connect_send(TALLOC_CTX *memctx, state->srv_opts = NULL; state->be = be; state->use_rootdse = !skip_rootdse; + state->sh = NULL; ret = sdap_cli_resolve_next(req); if (ret) { -- 1.7.6