diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-01-06 04:13:57 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-01-06 04:13:57 +0100 |
commit | d2c70d24e12293d9b4272eb310a6a4c4582b2d92 (patch) | |
tree | 5cc5f08da2608a20e2f961b7fecdd50e9752ec50 /source4/lib/com | |
parent | 1f8b6238dd161d29ee92902ea006158e180fa87b (diff) | |
download | samba-d2c70d24e12293d9b4272eb310a6a4c4582b2d92.tar.gz samba-d2c70d24e12293d9b4272eb310a6a4c4582b2d92.tar.bz2 samba-d2c70d24e12293d9b4272eb310a6a4c4582b2d92.zip |
py: Properly increase the reference counter of Py_None.
Diffstat (limited to 'source4/lib/com')
-rw-r--r-- | source4/lib/com/pycom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/com/pycom.c b/source4/lib/com/pycom.c index 9222be438d..55f1fd21be 100644 --- a/source4/lib/com/pycom.c +++ b/source4/lib/com/pycom.c @@ -56,7 +56,7 @@ static PyObject *py_get_class_object(PyObject *self, PyObject *args) /* FIXME: Magic, integrate with stubs generated by pidl. */ - return Py_None; + Py_RETURN_NONE; } static struct PyMethodDef com_methods[] = { |