1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04:00

Fix: Unref report after sending it

This commit is contained in:
Philipp Schafft 2020-10-03 11:57:27 +00:00
parent d7f8911510
commit d6fcedd5b8

View File

@ -1349,6 +1349,7 @@ static void command_show_log (client_t *client, source_t *source, adm
refobject_unref(incident);
client_send_reportxml(client, report, DOCUMENT_DOMAIN_ADMIN, SHOWLOG_HTML_REQUEST, response, 200, NULL);
refobject_unref(report);
}
static void command_mark_log (client_t *client, source_t *source, admin_format_t response)
@ -1454,6 +1455,7 @@ static void command_dashboard (client_t *client, source_t *source, adm
config_release_config();
client_send_reportxml(client, report, DOCUMENT_DOMAIN_ADMIN, DASHBOARD_HTML_REQUEST, response, 200, NULL);
refobject_unref(report);
}