mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-10 13:29:32 -06:00
missing call to free after the call to pgf_abstract_name
This commit is contained in:
@@ -1777,6 +1777,7 @@ PGF_getAbstractName(PGFObject *self, void *closure)
|
||||
}
|
||||
|
||||
PyObject *name = PyString_FromStringAndSize(txt->text, txt->size);
|
||||
free(txt);
|
||||
return name;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user