From: Alan T. DeKok Date: Sat, 19 Dec 2015 14:23:27 +0000 (-0500) Subject: parent instances off of instance tree X-Git-Tag: release_3_0_11~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74e5baa65681b8f4f97126f0434112f35c5a3fe4;p=thirdparty%2Ffreeradius-server.git parent instances off of instance tree because that's where they live. --- diff --git a/src/main/modules.c b/src/main/modules.c index 45999d76e55..80cf804221c 100644 --- a/src/main/modules.c +++ b/src/main/modules.c @@ -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));