Fix to Coverity issue 85210.
This commit is contained in:
@ -364,8 +364,8 @@ char *remote, *userName;
|
|||||||
LOGIF(LE, (skygw_log_write_flush(LOGFILE_ERROR,
|
LOGIF(LE, (skygw_log_write_flush(LOGFILE_ERROR,
|
||||||
"Error : %s: Recursive use of tee filter in service.",
|
"Error : %s: Recursive use of tee filter in service.",
|
||||||
session->service->name)));
|
session->service->name)));
|
||||||
my_session = NULL;
|
my_session = NULL;
|
||||||
goto retblock;
|
goto retblock;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((my_session = calloc(1, sizeof(TEE_SESSION))) != NULL)
|
if ((my_session = calloc(1, sizeof(TEE_SESSION))) != NULL)
|
||||||
|
@ -523,10 +523,6 @@ static int gw_mysql_do_authentication(DCB *dcb, GWBUF *queue) {
|
|||||||
if (auth_ret == 0) {
|
if (auth_ret == 0) {
|
||||||
dcb->user = strdup(client_data->user);
|
dcb->user = strdup(client_data->user);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* let's free the auth_token now */
|
/* let's free the auth_token now */
|
||||||
if (auth_token) {
|
if (auth_token) {
|
||||||
|
Reference in New Issue
Block a user