Include filenames, too
authoraland <aland>
Mon, 12 Feb 2007 10:39:28 +0000 (10:39 +0000)
committeraland <aland>
Mon, 12 Feb 2007 10:39:28 +0000 (10:39 +0000)
src/main/conffile.c

index 835159c..4a99e1e 100644 (file)
@@ -284,7 +284,8 @@ static void cf_section_parse_free(void *base, const CONF_PARSER *variables)
        for (i = 0; variables[i].name != NULL; i++) {
                char **p;
 
-               if (variables[i].type != PW_TYPE_STRING_PTR) {
+               if ((variables[i].type != PW_TYPE_STRING_PTR) ||
+                   (variables[i].type != PW_TYPE_FILENAME)) {
                        continue;
                }