MXS-2046: Fix double freeing of GWBUF
The response buffer from the master was freed twice.
This commit is contained in:
@ -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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user