X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodule.c;h=e225992aeed5b861f7a8c36c6dbb7afbd07a2969;hb=09e2606fca29ce45f4c0bc6aa0bfd0a00e9bb5f8;hp=7640f8655be263c6d23edcd5067597b431793128;hpb=36b3c068721ec15aae394e65e5fc50ac4ec26358;p=lttv.git diff --git a/ltt/branches/poly/lttv/module.c b/ltt/branches/poly/lttv/module.c index 7640f865..e225992a 100644 --- a/ltt/branches/poly/lttv/module.c +++ b/ltt/branches/poly/lttv/module.c @@ -169,7 +169,7 @@ lttv_module_require(LttvModule *m, const char *name, int argc, char **argv) g_info("Load module %s, as %s is a dependent requiring it", name, g_module_name(m->module)); module = module_load(name, argc, argv); - if(module != NULL) g_ptr_array_add(m->dependents, module); + if(module != NULL) g_ptr_array_add(module->dependents, m); return module; }