diff options
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1131,7 +1131,6 @@ config_schema_accepts_type && config_item_type_is_string (type)) return true; return !self->default_ && type == CONFIG_ITEM_NULL; - } static bool @@ -2008,6 +2007,7 @@ config_load (struct config *self, struct config_item_ *root) subtree = config_item_object (); str_map_set (&root->value.object, module->name, subtree); } - module->loader (subtree, module->user_data); + if (module->loader) + module->loader (subtree, module->user_data); } } |