mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-03-03 07:45:45 +03:00
Fix missing free in replmsg_dealloc
This commit is contained in:
parent
9c1f2acf3e
commit
06f18237f7
|
@ -80,7 +80,11 @@ replmsg_clear(replicationMessageObject *self)
|
|||
static void
|
||||
replmsg_dealloc(PyObject* obj)
|
||||
{
|
||||
PyObject_GC_UnTrack(obj);
|
||||
|
||||
replmsg_clear((replicationMessageObject*) obj);
|
||||
|
||||
Py_TYPE(obj)->tp_free(obj);
|
||||
}
|
||||
|
||||
#define psyco_replmsg_send_time_doc \
|
||||
|
|
Loading…
Reference in New Issue
Block a user