Configuration parameters were uninitialized

The creation of a CONFIG_PARAM didn't initialize the qdf_param_type value which
was later used when adding parameters to the monitors.
This commit is contained in:
Markus Makela
2015-11-21 03:44:06 +02:00
parent 422d6f5ab2
commit 47e2e4d3e0

View File

@ -279,6 +279,7 @@ handler(void *userdata, const char *section, const char *name, const char *value
param->name = strdup(name);
param->value = strdup(value);
param->next = ptr->parameters;
param->qfd_param_type = UNDEFINED_TYPE;
ptr->parameters = param;
return 1;