diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-08-28 22:18:00 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-09-02 13:37:07 +1000 |
commit | e2fdcf1a7a977d6984abae71d24b9dbdac19bbce (patch) | |
tree | e4bab0b5b1b2df6c57205527582ab237406e3382 /source4 | |
parent | 58d92cefe266e423f05dec3a2fef91ebc870c350 (diff) | |
download | samba-e2fdcf1a7a977d6984abae71d24b9dbdac19bbce.tar.gz samba-e2fdcf1a7a977d6984abae71d24b9dbdac19bbce.tar.bz2 samba-e2fdcf1a7a977d6984abae71d24b9dbdac19bbce.zip |
pynet: fixed ref count error on Py_None
ensure we don't run out of None ...
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libnet/py_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/py_net.c b/source4/libnet/py_net.c index 4f3e5db114..1e32eafba6 100644 --- a/source4/libnet/py_net.c +++ b/source4/libnet/py_net.c @@ -453,7 +453,7 @@ static PyObject *py_net_replicate_chunk(py_net_Object *self, PyObject *args, PyO return NULL; } - return Py_None; + Py_RETURN_NONE; } static const char py_net_vampire_doc[] = "vampire(domain, target_dir=None)\n" |