fix the memory leaks in the linearizer

This commit is contained in:
krangelov
2021-12-01 10:30:08 +01:00
parent 483f93822c
commit 8e19b7d31c
2 changed files with 6 additions and 3 deletions

View File

@@ -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);
};