Set internal root for dm-service

This commit is contained in:
Suvendhu Hansa 2026-01-05 12:55:26 +05:30 committed by Vivek Dutta
parent 9e089f57d9
commit d76877c20b

View file

@ -102,6 +102,10 @@ int bbfdm_load_dotso_plugin(struct bbfdm_context *bbfdm_ctx, void **lib_handle,
//Dynamic Object
*(void **) (&dynamic_obj) = dlsym(handle, "tDynamicObj");
if (INTERNAL_ROOT_TREE == NULL) {
INTERNAL_ROOT_TREE = dynamic_obj;
}
return bbfdm_load_internal_plugin(bbfdm_ctx, dynamic_obj, main_entry);
}