Fix minor memory leaks

The main function and monitor creation both leaked a few bytes of memory.
This commit is contained in:
Markus Makela
2016-12-09 17:38:47 +02:00
parent 50a9fb5ec1
commit 5cb738ae03
2 changed files with 3 additions and 1 deletions

View File

@ -2084,6 +2084,8 @@ return_main:
write_child_exit_code(daemon_pipe[1], rc);
}
MXS_FREE(cnf_file_arg);
if (threads)
{
MXS_FREE(threads);