New yaz_xml_get_prop utility YAZ-839
[yaz-moved-to-github.git] / src / xml_include.c
index 21e6b0e..8008610 100644 (file)
@@ -131,6 +131,7 @@ static int process_config_includes(yaz_xml_include_t config, xmlNode *n)
                 xmlChar *src = xmlGetProp(n, (xmlChar *) "src");
                 if (src)
                 {
+                    /* src must be preserved, because n is destroyed */
                     int ret = config_include_src(config, &n,
                                                  (const char *) src);
                     xmlFree(src);