summaryrefslogtreecommitdiff
path: root/source4/ldap_server
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ldap_server')
-rw-r--r--source4/ldap_server/ldap_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_server.c b/source4/ldap_server/ldap_server.c
index e635dae1ab..9c0e883e36 100644
--- a/source4/ldap_server/ldap_server.c
+++ b/source4/ldap_server/ldap_server.c
@@ -105,7 +105,7 @@ static void ldapsrv_process_message(struct ldapsrv_connection *conn,
}
data_blob_free(&blob);
blob = data_blob_talloc(call, NULL, wrapped.length + 4);
- if (q->data.data == NULL) {
+ if (blob.data == NULL) {
goto failed;
}
RSIVAL(blob.data, 0, wrapped.length);