Remove unnecessary mxs_log_flush_sync calls
The calls were unnecessary in the context where they were made.
This commit is contained in:
@ -162,7 +162,6 @@ int main(int argc, char **argv)
|
||||
inst = static_cast<ROUTER_INSTANCE*>(MXS_CALLOC(1, sizeof(ROUTER_INSTANCE)));
|
||||
if (inst == NULL)
|
||||
{
|
||||
mxs_log_flush_sync();
|
||||
mxs_log_finish();
|
||||
|
||||
return 1;
|
||||
@ -884,7 +883,6 @@ int main(int argc, char **argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
mxs_log_flush_sync();
|
||||
mxs_log_finish();
|
||||
MXS_FREE(inst->user);
|
||||
MXS_FREE(inst->password);
|
||||
|
Reference in New Issue
Block a user