1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix a Valgrind leak error report for not freed binlog injector singleton.

sql/mysqld.cc:
  Free the binlog injector singleton during shutdown.
sql/rpl_injector.cc:
  Add free_instance() method.
sql/rpl_injector.h:
  Add free_instance() method.
This commit is contained in:
unknown
2006-06-19 14:31:22 +02:00
parent 78deb348f0
commit cb28cf8d88
3 changed files with 22 additions and 0 deletions

View File

@ -59,6 +59,11 @@ public:
*/
static injector *instance();
/*
Delete the singleton instance (if allocated). Used during server shutdown.
*/
static void free_instance();
/*
A transaction where rows can be added.