Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
819dc9c7
Commit
819dc9c7
authored
May 28, 2018
by
Philipp Schafft
🦁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Fixed memory leak with new way of sending requests to corresponding endpoints
parent
9b8ca49f
Pipeline
#166
passed with stage
in 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/connection.c
src/connection.c
+2
-0
No files found.
src/connection.c
View file @
819dc9c7
...
@@ -1191,10 +1191,12 @@ static void _handle_authed_client(client_t *client, void *uri, auth_result resul
...
@@ -1191,10 +1191,12 @@ static void _handle_authed_client(client_t *client, void *uri, auth_result resul
/* Dispatch legacy admin.cgi requests */
/* Dispatch legacy admin.cgi requests */
if
(
strcmp
(
uri
,
"/admin.cgi"
)
==
0
)
{
if
(
strcmp
(
uri
,
"/admin.cgi"
)
==
0
)
{
_handle_admin_request
(
client
,
uri
+
1
);
_handle_admin_request
(
client
,
uri
+
1
);
free
(
uri
);
return
;
return
;
}
/* Dispatch all admin requests */
}
/* Dispatch all admin requests */
else
if
(
strncmp
(
uri
,
"/admin/"
,
7
)
==
0
)
{
else
if
(
strncmp
(
uri
,
"/admin/"
,
7
)
==
0
)
{
_handle_admin_request
(
client
,
uri
+
7
);
_handle_admin_request
(
client
,
uri
+
7
);
free
(
uri
);
return
;
return
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment