diff options
-rw-r--r-- | sql/session_tracker.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/session_tracker.h b/sql/session_tracker.h index b6694970c38..226b026d590 100644 --- a/sql/session_tracker.h +++ b/sql/session_tracker.h @@ -164,6 +164,7 @@ class Session_sysvars_tracker: public State_tracker } public: vars_list(): track_all(false) { init(); } + ~vars_list() { if (my_hash_inited(&m_registered_sysvars)) free_hash(); } void deinit() { free_hash(); } sysvar_node_st *insert_or_search(const sys_var *svar) |