diff options
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r-- | sql/sql_class.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc index 91fc482978d..93f1ae7c1eb 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -1750,6 +1750,7 @@ THD::~THD() /* trick to make happy memory accounting system */ #ifndef EMBEDDED_LIBRARY session_tracker.sysvars.deinit(); + session_tracker.user_variables.deinit(); #endif //EMBEDDED_LIBRARY if (status_var.local_memory_used != 0) |