merge pgf_free and pgf_free_revision since otherwise we cannot control the finalizers in Haskell

This commit is contained in:
krangelov committed 2021-09-22 13:21:07 +02:00
1 parent 74c63b196f
commit e11e775a96
8 files changed
+56 -71

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@
static void
PGF_dealloc(PGFObject *self)
{
pgf_free(self->db);
pgf_free_revision(self->db, self->revision);
Py_TYPE(self)->tp_free((PyObject *)self);
}