Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
bb2ba6e8
Commit
bb2ba6e8
authored
Sep 14, 2018
by
Philipp Schafft
🦁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Avoided segfault if clear_auth() is closed with auth->state == NULL
parent
d0b23fb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/auth_static.c
src/auth_static.c
+3
-0
No files found.
src/auth_static.c
View file @
bb2ba6e8
...
...
@@ -64,6 +64,9 @@ static auth_result static_auth(auth_client *auth_user)
static
void
clear_auth
(
auth_t
*
auth
)
{
auth_static_t
*
auth_info
=
auth
->
state
;
if
(
!
auth_info
)
return
;
free
(
auth_info
->
username
);
free
(
auth_info
->
password
);
free
(
auth_info
->
arg
);
...
...
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