Fixed minor memory leak in mysql_backend when gw_decode_mysql_server_handshake failed.
This commit is contained in:
@ -287,7 +287,7 @@ int gw_read_backend_handshake(
|
|||||||
pthread_self(),
|
pthread_self(),
|
||||||
conn->owner_dcb->fd,
|
conn->owner_dcb->fd,
|
||||||
pthread_self())));
|
pthread_self())));
|
||||||
|
while(head = gwbuf_consume(head, GWBUF_LENGTH(head)));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user