~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
key.c: Make `KeyDataStructured' constructor cleanup less bizarre.
[catacomb-python]
/
algorithms.c
diff --git
a/algorithms.c
b/algorithms.c
index
dcdcff6
..
48bd480
100644
(file)
--- a/
algorithms.c
+++ b/
algorithms.c
@@
-3626,8
+3626,7
@@
static PyObject *gprp_pynew(PyTypeObject *ty, PyObject *arg, PyObject *kw)
me = (PyObject *)ty->tp_alloc(ty, 0);
GPRP_PRP(me) = prp;
prp->init(GPRP_CTX(me), k.p, k.sz);
me = (PyObject *)ty->tp_alloc(ty, 0);
GPRP_PRP(me) = prp;
prp->init(GPRP_CTX(me), k.p, k.sz);
- Py_INCREF(me);
- return (me);
+ RETURN_ME;
end:
return (0);
}
end:
return (0);
}