diff options
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2074,6 +2074,7 @@ static void config_load (struct config *self, struct config_item *root) { hard_assert (root->type == CONFIG_ITEM_OBJECT); + if (self->root) config_item_destroy (self->root); self->root = root; struct str_map_iter iter; |