Various minor text tweaks.
[yaz-moved-to-github.git] / src / xml_include.c
index 0bd732d..8008610 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2013 Index Data
+ * Copyright (C) Index Data
  * See the file LICENSE for details.
  */
 
@@ -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);