Fixed minor memory leak in mysql_backend when gw_decode_mysql_server_handshake failed.

This commit is contained in:
Markus Makela 2015-05-11 15:33:36 +03:00
parent 14b2c149f5
commit 3ef9b0927d

View File

@ -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;
}