mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-09-29 04:25:55 -04:00
Fix: Free temp memory
This commit is contained in:
parent
c60e957782
commit
d9686e701a
@ -802,6 +802,8 @@ reportxml_node_t * reportxml_database_build_node(reportxml_database_t *db,
|
|||||||
if (template) {
|
if (template) {
|
||||||
reportxml_node_t *tpl = reportxml_database_build_node(db, template, depth - 1);
|
reportxml_node_t *tpl = reportxml_database_build_node(db, template, depth - 1);
|
||||||
|
|
||||||
|
free(template);
|
||||||
|
|
||||||
if (tpl) {
|
if (tpl) {
|
||||||
ret = reportxml_node_copy(tpl);
|
ret = reportxml_node_copy(tpl);
|
||||||
refobject_unref(tpl);
|
refobject_unref(tpl);
|
||||||
|
Loading…
Reference in New Issue
Block a user