1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s4:pygensec: make use of samba_tevent_context_init()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Stefan Metzmacher 2013-02-21 08:30:51 +01:00 committed by Michael Adam
parent 2fb69f51c4
commit 5aee3a45e4

View File

@ -415,7 +415,7 @@ static PyObject *py_gensec_update(PyObject *self, PyObject *args)
in.data = (uint8_t *)PyString_AsString(py_in);
in.length = PyString_Size(py_in);
ev = tevent_context_init(mem_ctx);
ev = samba_tevent_context_init(mem_ctx);
if (ev == NULL) {
PyErr_NoMemory();
PyObject_Del(self);