1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-23 06:25:24 +00:00

Fix: Free temp memory

This commit is contained in:
Philipp Schafft 2018-06-08 08:07:12 +00:00
parent c60e957782
commit d9686e701a

View File

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