Fix to Coverity issue 85210.

This commit is contained in:
VilhoRaatikka
2014-12-31 16:29:07 +02:00
parent 316093f912
commit 51ebfb9862
2 changed files with 2 additions and 6 deletions

View File

@ -523,10 +523,6 @@ static int gw_mysql_do_authentication(DCB *dcb, GWBUF *queue) {
if (auth_ret == 0) {
dcb->user = strdup(client_data->user);
}
else
{
return 1;
}
/* let's free the auth_token now */
if (auth_token) {