~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pyke/, ...: Extract utilities into a sort-of reusable library.
[catacomb-python]
/
pubkey.c
diff --git
a/pubkey.c
b/pubkey.c
index
3fc42af
..
ad3bcd4
100644
(file)
--- a/
pubkey.c
+++ b/
pubkey.c
@@
-86,8
+86,7
@@
static PyObject *dsa_setup(PyTypeObject *ty, PyObject *G, PyObject *u,
g->rng = rng; Py_INCREF(rng); g->hash = hash; Py_INCREF(hash);
return ((PyObject *)g);
end:
- if (p) Py_DECREF(p);
- FREEOBJ(g);
+ Py_XDECREF(p); FREEOBJ(g);
return (0);
}