summaryrefslogtreecommitdiff
path: root/daemon/ldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/ldap.c')
-rw-r--r--daemon/ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/ldap.c b/daemon/ldap.c
index 6eae3f1..044490f 100644
--- a/daemon/ldap.c
+++ b/daemon/ldap.c
@@ -455,7 +455,7 @@ static int validate_ldap_ha1(const ha_request_t* rq, ldap_context_t* ctx, LDAP*
static LDAP* get_ldap_connection(const ha_request_t* rq, ldap_context_t* ctx)
{
- LDAP* ld;
+ LDAP* ld = NULL;
int i, r, create = 1;
ASSERT(ctx);