MySQL :: MySQL 8.4 C API Developer Guide :: 5.4.44 mysql_library_end() (original) (raw)
The world's most popular open source database
5.4.44 mysql_library_end()
void
mysql_library_end(void)
Description
This function finalizes the MySQL client library. Call it when you are done using the library (for example, after disconnecting from the server).
Note
To avoid memory leaks after the application is done using the library (for example, after closing the connection to the server), be sure to callmysql_library_end() explicitly. This enables memory managment to be performed to clean up and free resources used by the library.
For usage information, seeChapter 4, C API Function Reference, andSection 5.4.45, “mysql_library_init()”.