From f9ec6ff0733d0f068338b16d2589cd3debf8f087 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Fri, 13 Apr 2012 23:44:52 +0300 Subject: s4-auth: Make sure ldb context is initialized even if not passed by Python code Autobuild-User: Alexander Bokovoy Autobuild-Date: Sat Apr 14 00:21:00 CEST 2012 on sn-devel-104 --- source4/auth/pyauth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/auth') 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; -- cgit