Add deallocator functions to all classes

This commit is contained in:
John J. Camilleri committed 2021-09-26 15:45:34 +02:00
1 parent 1fce5144f8
commit 28bb236248
3 files changed
+108 -35

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ PGF_dealloc(PGFObject *self)
{
if (self->db != NULL && self->revision != 0)
pgf_free_revision(self->db, self->revision);
Py_TYPE(self)->tp_free((PyObject *)self);
Py_TYPE(self)->tp_free(self);
}
typedef struct {