Commit d9686e70 authored by Philipp Schafft's avatar Philipp Schafft 🦁

Fix: Free temp memory

parent c60e9577
......@@ -802,6 +802,8 @@ reportxml_node_t * reportxml_database_build_node(reportxml_database_t *db,
if (template) {
reportxml_node_t *tpl = reportxml_database_build_node(db, template, depth - 1);
free(template);
if (tpl) {
ret = reportxml_node_copy(tpl);
refobject_unref(tpl);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment