mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-13 06:49:31 -06:00
Add deallocator functions to all classes
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user