summaryrefslogtreecommitdiff
path: root/client/mysqlimport.c
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2019-05-12 17:20:23 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2019-05-12 17:20:23 +0200
commitc51f85f8823a845cd4a6aa1b2aa5af18484b2ab0 (patch)
tree65c45f6100c13dad90c33b86dc68be268139b0b8 /client/mysqlimport.c
parenta89f199c64a1d2339de7c167ce64ec148061a4d3 (diff)
parent8ce702aa90c174566f4ac950e85cc7570bf9b647 (diff)
downloadmariadb-git-c51f85f8823a845cd4a6aa1b2aa5af18484b2ab0.tar.gz
Merge branch '10.2' into 10.3
Diffstat (limited to 'client/mysqlimport.c')
-rw-r--r--client/mysqlimport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqlimport.c b/client/mysqlimport.c
index c7432992d45..e54ed4a87df 100644
--- a/client/mysqlimport.c
+++ b/client/mysqlimport.c
@@ -514,11 +514,11 @@ static void safe_exit(int error, MYSQL *mysql)
if (mysql)
mysql_close(mysql);
+ mysql_library_end();
#ifdef HAVE_SMEM
my_free(shared_memory_base_name);
#endif
free_defaults(argv_to_free);
- mysql_library_end();
my_free(opt_password);
if (error)
sf_leaking_memory= 1; /* dirty exit, some threads are still running */