summaryrefslogtreecommitdiff
path: root/lib/tevent
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-01-06 04:13:57 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-01-06 04:13:57 +0100
commitd2c70d24e12293d9b4272eb310a6a4c4582b2d92 (patch)
tree5cc5f08da2608a20e2f961b7fecdd50e9752ec50 /lib/tevent
parent1f8b6238dd161d29ee92902ea006158e180fa87b (diff)
downloadsamba-d2c70d24e12293d9b4272eb310a6a4c4582b2d92.tar.gz
samba-d2c70d24e12293d9b4272eb310a6a4c4582b2d92.tar.bz2
samba-d2c70d24e12293d9b4272eb310a6a4c4582b2d92.zip
py: Properly increase the reference counter of Py_None.
Diffstat (limited to 'lib/tevent')
-rw-r--r--lib/tevent/pytevent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tevent/pytevent.c b/lib/tevent/pytevent.c
index 3d71d78397..f8e648157d 100644
--- a/lib/tevent/pytevent.c
+++ b/lib/tevent/pytevent.c
@@ -35,7 +35,7 @@ static PyObject *py_set_default_backend(PyObject *self, PyObject *args)
if (!PyArg_ParseTuple(args, "s", &name))
return NULL;
tevent_set_default_backend(name);
- return Py_None;
+ Py_RETURN_NONE;
}
static PyObject *py_backend_list(PyObject *self)