MXS-2046: Fix double freeing of GWBUF

The response buffer from the master was freed twice.
This commit is contained in:
Markus Mäkelä
2018-09-13 20:38:55 +03:00
parent 5e6abe71f1
commit c600b8ab92

View File

@ -657,7 +657,6 @@ blr_master_response(ROUTER_INSTANCE *router, GWBUF *buf)
router->active_logs = 0; router->active_logs = 0;
spinlock_release(&router->lock); spinlock_release(&router->lock);
atomic_add(&router->handling_threads, -1); atomic_add(&router->handling_threads, -1);
gwbuf_free(buf);
} }
/** /**