parent instances off of instance tree
authorAlan T. DeKok <aland@freeradius.org>
Sat, 19 Dec 2015 14:23:27 +0000 (09:23 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 19 Dec 2015 14:24:08 +0000 (09:24 -0500)
because that's where they live.

src/main/modules.c

index 45999d7..80cf804 100644 (file)
@@ -641,7 +641,7 @@ static module_instance_t *module_bootstrap(CONF_SECTION *cs)
         *      section. If the CS is free'd the instance will be
         *      free'd, too.
         */
-       node = talloc_zero(cs, module_instance_t);
+       node = talloc_zero(module_instance_tree, module_instance_t);
        node->cs = cs;
        strlcpy(node->name, name2, sizeof(node->name));