log_manager.cc fixed memory leak, block buffer mutex names weren't freed.

query_classifier.cc use of uninitialized value in skygw_stmt_causes_implicit_commit
config.c crashed if module load failed, use of unitialized value
load_utils.c pretty-printed error
service.c use of uninitialized value in service_add_qualified_param
modules.h function prototype
readwritesplit.c memory leaks
This commit is contained in:
VilhoRaatikka
2014-04-29 14:50:09 +03:00
parent 8a40a44823
commit b5e9428ff7
7 changed files with 73 additions and 9 deletions

View File

@ -205,6 +205,18 @@ int error_count = 0;
char *enable_root_user =
config_get_value(obj->parameters, "enable_root_user");
if (obj->element == NULL)
{
LOGIF(LE, (skygw_log_write_flush(
LOGFILE_ERROR,
"Error : Reading configuration "
"for router service '%s' failed. "
"Router %s is not loaded.",
obj->object,
obj->object)));
obj = obj->next;
continue; /*< process next obj */
}
max_slave_conn_str =
config_get_value(obj->parameters,
"max_slave_connections");