From 6890129bf2aaccbf454dfcf5e8061cdf08993599 Mon Sep 17 00:00:00 2001 From: VilhoRaatikka Date: Wed, 28 May 2014 14:03:59 +0300 Subject: [PATCH] Bug #438, http://bugs.skysql.com/show_bug.cgi?id=438 try to complete the fix. dcb->authlock was double-freed. --- server/modules/protocol/mysql_backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/protocol/mysql_backend.c b/server/modules/protocol/mysql_backend.c index e4b461dad..fff9a2604 100644 --- a/server/modules/protocol/mysql_backend.c +++ b/server/modules/protocol/mysql_backend.c @@ -326,7 +326,7 @@ static int gw_read_backend_event(DCB *dcb) { if (session->client->session == NULL) { rc = 1; - goto return_with_lock; + goto return_rc; } usleep(1); }