modinfo BUGFIX avoid inval arg error
@@ -2421,9 +2421,11 @@ sr_modinfo_data_store(struct sr_mod_info_s *mod_info)
}
/* connect them back */
+ if (mod_data) {
lyd_insert_sibling(mod_info->data, mod_data, &mod_info->data);
}
}
+ }
cleanup:
return err_info;
