Use pre-2.1 freeing functions

The binlogrouter code used the new MXS_FREE macro from the 2.1 version.
This commit is contained in:
Markus Makela
2016-10-31 14:55:34 +02:00
parent 5ca0c730a1
commit 6835fe4db9

View File

@ -883,7 +883,7 @@ blr_slave_query(ROUTER_INSTANCE *router, ROUTER_SLAVE *slave, GWBUF *queue)
blr_master_free_config(current_master);
/* Remove any error message and errno */
MXS_FREE(router->m_errmsg);
free(router->m_errmsg);
router->m_errmsg = NULL;
router->m_errno = 0;