chiark
/
gitweb
/
~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rand.c (BBSPriv.generate): Release the event handler afterwards.
[catacomb-python]
/
rand.c
diff --git
a/rand.c
b/rand.c
index 2c58e64bdf9047f6c406e7c26668c2a6906f342d..eeece651e3ff061ad0d8f0274ba43d12206c54a0 100644
(file)
--- a/
rand.c
+++ b/
rand.c
@@
-1384,6
+1384,7
@@
static PyObject *meth__BBSPriv_generate(PyObject *me,
rc->bp.n = MP_COPY(bp.n);
end:
mp_drop(bp.p); mp_drop(bp.q); mp_drop(bp.n); mp_drop(x);
+ droppgev(&evt);
return ((PyObject *)rc);
}