]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
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 7e1da683e648a6c4d0b359531af2f474f5633701..789f12f209c2bde37a354cde1ef60e8009935ba0 100644 (file)
@@ -143,7 +143,7 @@ void mysql_database_deinit()
 {
        initialized->destroy(initialized);
        mysql_thread_end();
-       /* mysql_library_end(); would be the clean way, however, it hangs... */
+       mysql_library_end();
 }
 
 /**