Added a client NULL check in clientReply

This commit is contained in:
Massimiliano Pinto
2013-09-04 11:37:56 +02:00
parent be27d36f8c
commit 8debc4433c

View File

@ -60,6 +60,7 @@
* clusters * clusters
* 31/07/2013 Massimiliano Pinto Added a check for candidate server, if NULL return * 31/07/2013 Massimiliano Pinto Added a check for candidate server, if NULL return
* 12/08/2013 Mark Riddoch Log unsupported router options * 12/08/2013 Mark Riddoch Log unsupported router options
* 04/09/2013 Massimiliano Pinto Added client NULL check in clientReply
* *
* @endverbatim * @endverbatim
*/ */
@ -522,6 +523,8 @@ clientReply(
DCB *client = NULL; DCB *client = NULL;
client = backend_dcb->session->client; client = backend_dcb->session->client;
if (client) {
client->func.write(client, queue); client->func.write(client, queue);
} }
}
/// ///