mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-11-03 04:17:17 -05:00
Fix: Unref report after sending it
This commit is contained in:
parent
d7f8911510
commit
d6fcedd5b8
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user