summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/providers/ldap/sdap_async.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async.c b/src/providers/ldap/sdap_async.c
index 0c354ae7..5594dd55 100644
--- a/src/providers/ldap/sdap_async.c
+++ b/src/providers/ldap/sdap_async.c
@@ -1388,7 +1388,7 @@ static errno_t sdap_x_deref_parse_entry(struct sdap_handle *sh,
LDAPControl **next = NULL;
LDAPControl **start = NULL;
LDAPControl *derefctrl = NULL;
- LDAPDerefRes *deref_res;
+ LDAPDerefRes *deref_res = NULL;
LDAPDerefRes *dref;
struct sdap_deref_attrs **res;
TALLOC_CTX *tmp_ctx;