mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
fix minor memory leak on failed shoutcast source auth
svn path=/icecast/trunk/icecast/; revision=14044
This commit is contained in:
parent
af1c8da6b6
commit
88514b9c8e
@ -1214,6 +1214,7 @@ static void _handle_shoutcast_compatible (client_queue_t *node)
|
|||||||
else
|
else
|
||||||
INFO1 ("password does not match \"%s\"", client->refbuf->data);
|
INFO1 ("password does not match \"%s\"", client->refbuf->data);
|
||||||
client_destroy (client);
|
client_destroy (client);
|
||||||
|
free (source_password);
|
||||||
free (node);
|
free (node);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user