Properly cleanup libmysql
authorTobias Brunner <tobias@strongswan.org>
Mon, 18 Mar 2013 18:17:19 +0000 (19:17 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 19 Mar 2013 15:33:07 +0000 (16:33 +0100)
Seems to work correctly with recent MySQL versions.

src/libstrongswan/plugins/mysql/mysql_database.c

index 7e1da68..789f12f 100644 (file)
@@ -143,7 +143,7 @@ void mysql_database_deinit()
 {
        initialized->destroy(initialized);
        mysql_thread_end();
 {
        initialized->destroy(initialized);
        mysql_thread_end();
-       /* mysql_library_end(); would be the clean way, however, it hangs... */
+       mysql_library_end();
 }
 
 /**
 }
 
 /**