From c600b8ab927a9d4434934c81b82e6c69495a77dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Thu, 13 Sep 2018 20:38:55 +0300 Subject: [PATCH] MXS-2046: Fix double freeing of GWBUF The response buffer from the master was freed twice. --- server/modules/routing/binlogrouter/blr_master.c | 1 - 1 file changed, 1 deletion(-) diff --git a/server/modules/routing/binlogrouter/blr_master.c b/server/modules/routing/binlogrouter/blr_master.c index ce5ec6ff8..6256052e9 100644 --- a/server/modules/routing/binlogrouter/blr_master.c +++ b/server/modules/routing/binlogrouter/blr_master.c @@ -657,7 +657,6 @@ blr_master_response(ROUTER_INSTANCE *router, GWBUF *buf) router->active_logs = 0; spinlock_release(&router->lock); atomic_add(&router->handling_threads, -1); - gwbuf_free(buf); } /**