[Commits] 7e6986d917d: Let us close library and only then free defaults.
revision-id: 7e6986d917d6587fe05b75501fca039e232f2be4 (mariadb-10.2.23-117-g7e6986d917d) parent(s): 54d0a55adf6fbfc92c5473bbcad2b459f14ef038 author: Oleksandr Byelkin committer: Oleksandr Byelkin timestamp: 2019-05-06 14:15:58 +0200 message: Let us close library and only then free defaults. --- client/mysqlimport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/mysqlimport.c b/client/mysqlimport.c index 02caf2df198..8f42e6f5a8f 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 */
participants (1)
-
Oleksandr Byelkin