Fixed a memory leak in mysql_client

This commit is contained in:
Markus Makela
2015-03-27 20:28:04 +02:00
parent 6ae929c5d4
commit 7c794b1d21

View File

@ -900,7 +900,7 @@ int gw_read_client_event(
dcb,
ERRACT_NEW_CONNECTION,
&succp);
free(errbuf);
gwbuf_free(errbuf);
/**
* If there are not enough backends close
* session