summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index dbdaadf86bf..bf797dfd580 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -187,6 +187,7 @@ void STDCALL mysql_server_end()
else
mysql_thread_end();
finish_client_errs();
+ free_charsets();
mysql_client_init= org_my_init_done= 0;
}