~mdw
/
catacomb-python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79ac6c2
)
mp.c: Don't leak the field polynomial.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 13 Nov 2019 02:54:29 +0000
(
02:54
+0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 22 Nov 2019 22:18:11 +0000
(22:18 +0000)
mp.c
patch
|
blob
|
blame
|
history
diff --git
a/mp.c
b/mp.c
index
54f1926
..
e7cb557
100644
(file)
--- a/
mp.c
+++ b/
mp.c
@@
-2412,6
+2412,7
@@
XFORMOP(ntop, NTOP)
static void gfn_pydealloc(PyObject *me)
{
if (GFN_P(me)) {
+ MP_DROP(GFN_P(me));
gfn_destroy(GFN_PTON(me));
gfn_destroy(GFN_NTOP(me));
}