dsa_pyobj *g = (dsa_pyobj *)me;
Py_DECREF(g->G); Py_DECREF(g->u); Py_DECREF(g->p);
Py_DECREF(g->rng); Py_DECREF(g->hash);
- PyObject_DEL(me);
+ FREEOBJ(me);
}
static PyObject *dsa_setup(PyTypeObject *ty, PyObject *G, PyObject *u,
rng = g->rng; Py_INCREF(rng); g->hash = hash; Py_INCREF(hash);
return ((PyObject *)g);
end:
- PyObject_DEL(g);
+ FREEOBJ(g);
return (0);
}
0, /* @tp_init@ */
PyType_GenericAlloc, /* @tp_alloc@ */
dsapub_pynew, /* @tp_new@ */
- _PyObject_Del, /* @tp_free@ */
+ 0, /* @tp_free@ */
0 /* @tp_is_gc@ */
};
0, /* @tp_init@ */
PyType_GenericAlloc, /* @tp_alloc@ */
dsapriv_pynew, /* @tp_new@ */
- _PyObject_Del, /* @tp_free@ */
+ 0, /* @tp_free@ */
0 /* @tp_is_gc@ */
};
0, /* @tp_init@ */
PyType_GenericAlloc, /* @tp_alloc@ */
kcdsapub_pynew, /* @tp_new@ */
- _PyObject_Del, /* @tp_free@ */
+ 0, /* @tp_free@ */
0 /* @tp_is_gc@ */
};
0, /* @tp_init@ */
PyType_GenericAlloc, /* @tp_alloc@ */
kcdsapriv_pynew, /* @tp_new@ */
- _PyObject_Del, /* @tp_free@ */
+ 0, /* @tp_free@ */
0 /* @tp_is_gc@ */
};
{
rsa_pubdestroy(RSA_PUBCTX(me));
rsa_pubfree(RSA_PUB(me));
- PyObject_DEL(me);
+ FREEOBJ(me);
}
static PyObject *rsaget_n(PyObject *me, void *hunoz)
rsa_privdestroy(RSA_PRIVCTX(me));
rsa_privfree(RSA_PRIV(me));
Py_DECREF(RSA_RNG(me));
- PyObject_DEL(me);
+ FREEOBJ(me);
}
static PyObject *rsaget_d(PyObject *me, void *hunoz)
0, /* @tp_init@ */
PyType_GenericAlloc, /* @tp_alloc@ */
rsapub_pynew, /* @tp_new@ */
- _PyObject_Del, /* @tp_free@ */
+ 0, /* @tp_free@ */
0 /* @tp_is_gc@ */
};
0, /* @tp_init@ */
PyType_GenericAlloc, /* @tp_alloc@ */
rsapriv_pynew, /* @tp_new@ */
- _PyObject_Del, /* @tp_free@ */
+ 0, /* @tp_free@ */
0 /* @tp_is_gc@ */
};