summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/auth/pyauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/pyauth.c b/source4/auth/pyauth.c
index f448a4404d..f07fa786a1 100644
--- a/source4/auth/pyauth.c
+++ b/source4/auth/pyauth.c
@@ -223,7 +223,7 @@ static PyObject *py_auth_context_new(PyTypeObject *type, PyObject *args, PyObjec
struct imessaging_context *imessaging_context = NULL;
struct loadparm_context *lp_ctx;
struct tevent_context *ev;
- struct ldb_context *ldb;
+ struct ldb_context *ldb = NULL;
NTSTATUS nt_status;
const char **methods;