]> git.kaiwu.me - nginx.git/commitdiff
we do not need dtd->name
authorIgor Sysoev <igor@sysoev.ru>
Tue, 5 Aug 2008 13:08:35 +0000 (13:08 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 5 Aug 2008 13:08:35 +0000 (13:08 +0000)
src/http/modules/ngx_http_xslt_filter_module.c

index d7d8e40897ea8b44a0b3fd061077bb15bd884f81..75be55339c94e0866068d2e30d6359baad56731a 100644 (file)
@@ -511,8 +511,6 @@ ngx_http_xslt_sax_external_subset(void *data, const xmlChar *name,
         return;
     }
 
-    dtd->name = xmlStrdup(name);
-
     if (doc->children == NULL) {
         xmlAddChild((xmlNodePtr) doc, (xmlNodePtr) dtd);