summaryrefslogtreecommitdiff
path: root/libcli/nbt
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 /libcli/nbt
parent1f8b6238dd161d29ee92902ea006158e180fa87b (diff)
downloadsamba-d2c70d24e12293d9b4272eb310a6a4c4582b2d92.tar.gz
py: Properly increase the reference counter of Py_None.
Diffstat (limited to 'libcli/nbt')
-rw-r--r--libcli/nbt/pynbt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/nbt/pynbt.c b/libcli/nbt/pynbt.c
index 9afe7ea6c4f..8a6d4591601 100644
--- a/libcli/nbt/pynbt.c
+++ b/libcli/nbt/pynbt.c
@@ -363,7 +363,7 @@ static PyObject *py_nbt_name_refresh(PyObject *self, PyObject *args, PyObject *k
static PyObject *py_nbt_name_release(PyObject *self, PyObject *args, PyObject *kwargs)
{
- return Py_None; /* FIXME */
+ Py_RETURN_NONE; /* FIXME */
}
static PyMethodDef py_nbt_methods[] = {