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 /pidl/lib/Parse | |
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 'pidl/lib/Parse')
-rw-r--r-- | pidl/lib/Parse/Pidl/Samba4/Python.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba4/Python.pm b/pidl/lib/Parse/Pidl/Samba4/Python.pm index 2474bf41a8..938ea36028 100644 --- a/pidl/lib/Parse/Pidl/Samba4/Python.pm +++ b/pidl/lib/Parse/Pidl/Samba4/Python.pm @@ -283,7 +283,7 @@ sub PythonStruct($$$$$$) $self->deindent; $self->pidl("}"); $self->pidl(""); - $self->pidl("return Py_None;"); + $self->pidl("Py_RETURN_NONE;"); $self->deindent; $self->pidl("}"); $self->pidl(""); |