]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
node->cs can't be NULL. Closes CID #1298632
authorAlan T. DeKok <aland@freeradius.org>
Sun, 17 May 2015 20:56:31 +0000 (16:56 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 17 May 2015 20:56:31 +0000 (16:56 -0400)
src/main/modules.c

index af27efd01e57c8d13f43b557f187dd2cd611c82f..3297ad2cdeedefe69398f1a8750bc6a5583bd8c3 100644 (file)
@@ -684,7 +684,7 @@ module_instance_t *module_instantiate(CONF_SECTION *modules, char const *askedna
         *      Now that ALL modules are instantiated, and ALL xlats
         *      are defined, go compile the config items marked as XLAT.
         */
-       if (node->entry->module->config && node->cs &&
+       if (node->entry->module->config &&
            (cf_section_parse_pass2(node->cs, node->insthandle,
                                    node->entry->module->config) < 0)) {
                return NULL;