Merge branch '2.2' into develop

This commit is contained in:
Marko
2018-06-07 14:39:16 +03:00
4 changed files with 76 additions and 13 deletions

View File

@ -191,6 +191,7 @@ server_free(SERVER *tofreeserver)
/* Clean up session and free the memory */
MXS_FREE(tofreeserver->protocol);
MXS_FREE(tofreeserver->name);
MXS_FREE(tofreeserver->authenticator);
server_parameter_free(tofreeserver->parameters);
if (tofreeserver->persistent)
@ -201,6 +202,7 @@ server_free(SERVER *tofreeserver)
{
dcb_persistent_clean_count(tofreeserver->persistent[i], i, true);
}
MXS_FREE(tofreeserver->persistent);
}
delete tofreeserver->disk_space_threshold;
MXS_FREE(tofreeserver);