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