mirror of
https://github.com/MariaDB/server.git
synced 2025-11-25 17:25:02 +03:00
In the error case of THD::register_slave(), there is undefined behavior of Slave_info si because it is allocated via malloc() (my_malloc), and cleaned up via delete(). This patch makes these consistent by switching si's cleanup to use my_free.
6.9 KiB
6.9 KiB