git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58d92ce
)
pynet: fixed ref count error on Py_None
author
Andrew Tridgell
<tridge@samba.org>
Sat, 28 Aug 2010 12:18:00 +0000
(22:18 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 2 Sep 2010 03:37:07 +0000
(13:37 +1000)
ensure we don't run out of None ...
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
source4/libnet/py_net.c
patch
|
blob
|
history
diff --git
a/source4/libnet/py_net.c
b/source4/libnet/py_net.c
index 4f3e5db114190fed4e8748c7b8dff9f1268ac3e6..1e32eafba68861dd76d8eea96b66c356725160af 100644
(file)
--- 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"