summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-08-28 22:18:00 +1000
committerAndrew Tridgell <tridge@samba.org>2010-09-02 13:37:07 +1000
commite2fdcf1a7a977d6984abae71d24b9dbdac19bbce (patch)
treee4bab0b5b1b2df6c57205527582ab237406e3382 /source4
parent58d92cefe266e423f05dec3a2fef91ebc870c350 (diff)
downloadsamba-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.c2
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"