]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
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 45999d76e55ea1c5a9d000c1b759d6ed239bd8d6..80cf804221cf8a611bb4264ec8354722103dffb2 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));