[Issue#] ace_param_list->items could have been NULL when referenced
[Bug] N/A
[Cause] N/A
[Solution] Small change in conditions check.
[Verification] Build plugins. Run plugin-common tests.
Change-Id: I0b0ace5e95615311680fc29de6a421f56f7f0b9b
}
static void _ace_params_finalize(ace_param_list_t* ace_param_list) {
}
static void _ace_params_finalize(ace_param_list_t* ace_param_list) {
- if (NULL == ace_param_list || ace_param_list->items) {
+ if (!ace_param_list || !ace_param_list->items) {
LogDebug("List is null, nothing to do");
return;
}
LogDebug("List is null, nothing to do");
return;
}