mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-09 03:02:50 -06:00
fix the memory leaks in the linearizer
This commit is contained in:
@@ -39,6 +39,7 @@ class PGF_INTERNAL_DECL PgfLinearizer : public PgfUnmarshaller {
|
||||
size_t *var_values;
|
||||
|
||||
TreeNode(PgfLinearizer *linearizer, ref<PgfConcrLin> lin);
|
||||
~TreeNode() { free(var_values); };
|
||||
size_t eval_param(PgfLParam *param);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user