Commit 88514b9c authored by Karl Heyes's avatar Karl Heyes

fix minor memory leak on failed shoutcast source auth

svn path=/icecast/trunk/icecast/; revision=14044
parent af1c8da6
...@@ -1214,6 +1214,7 @@ static void _handle_shoutcast_compatible (client_queue_t *node) ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment