diff --git a/server/modules/routing/binlogrouter/blr_master.c b/server/modules/routing/binlogrouter/blr_master.c index 6b8730ec0..e217ed94f 100644 --- a/server/modules/routing/binlogrouter/blr_master.c +++ b/server/modules/routing/binlogrouter/blr_master.c @@ -1080,7 +1080,8 @@ blr_handle_binlog_record(ROUTER_INSTANCE *router, GWBUF *pkt) event_msg = "error"; } MXS_NOTICE("Non-event message (%s) from master.", event_msg); - pkt = gwbuf_consume(pkt, len); + gwbuf_free(pkt); + break; } else {