Skip to content
Snippets Groups Projects
Commit 7f744bb3 authored by Danny Auble's avatar Danny Auble
Browse files

fix for minor memory leak in mysql

parent 0d036898
No related branches found
No related tags found
No related merge requests found
......@@ -198,8 +198,12 @@ extern int mysql_close_db_connection(MYSQL **mysql_db)
{
if(mysql_db && *mysql_db) {
mysql_close(*mysql_db);
/* leave as server instead of library since this is
* backwards compatible */
mysql_server_end();
*mysql_db = NULL;
}
return SLURM_SUCCESS;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment