mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Fix: Fixed memory leak with new way of sending requests to corresponding endpoints
This commit is contained in:
parent
9b8ca49f99
commit
819dc9c72e
@ -1191,10 +1191,12 @@ static void _handle_authed_client(client_t *client, void *uri, auth_result resul
|
||||
/* Dispatch legacy admin.cgi requests */
|
||||
if (strcmp(uri, "/admin.cgi") == 0) {
|
||||
_handle_admin_request(client, uri + 1);
|
||||
free(uri);
|
||||
return;
|
||||
} /* Dispatch all admin requests */
|
||||
else if (strncmp(uri, "/admin/", 7) == 0) {
|
||||
_handle_admin_request(client, uri + 7);
|
||||
free(uri);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user