summaryrefslogtreecommitdiff
path: root/src/runtime/python
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/python')
-rw-r--r--src/runtime/python/pypgf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/python/pypgf.c b/src/runtime/python/pypgf.c
index f2d55bf74..3c8563d56 100644
--- a/src/runtime/python/pypgf.c
+++ b/src/runtime/python/pypgf.c
@@ -1788,6 +1788,8 @@ Bracket_repr(BracketObject *self)
Py_DECREF(space);
return NULL;
}
+
+ Py_DECREF(child_str);
}
Py_DECREF(space);
@@ -2267,6 +2269,7 @@ Concr_load(ConcrObject* self, PyObject *args)
} else {
PyErr_SetString(PGFError, "The language cannot be loaded");
}
+ gu_pool_free(tmp_pool);
return NULL;
}