mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-26 00:43:17 -06:00
Add deallocator functions to all classes
This commit is contained in:
1 parent
1fce5144f8
commit
28bb236248
3 files changed
+108
-35
No files matched your search
@@ -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