commit | c93a19fc1029bea8c63c7eaf9dc42dce32478fe9 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Mon Oct 04 11:53:20 2004 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Mon Oct 04 11:53:20 2004 +0000 |
tree | 8214585ad5dd2cadd0477abd5fb1f73024ce4108 | |
parent | 263ec86a75f7b5ec2d37dbb89356bf7fca11cff3 [diff] [blame] |
applied patch from Malcolm Tredinnick fixing bug #152426 Daniel * parser.c: applied patch from Malcolm Tredinnick fixing bug #152426 Daniel
diff --git a/parser.c b/parser.c index e1523c0..2b8f5ed 100644 --- a/parser.c +++ b/parser.c
@@ -10219,7 +10219,7 @@ * Canonicalise the system ID */ systemIdCanonic = xmlCanonicPath(SystemID); - if (systemIdCanonic == NULL) { + if ((SystemID != NULL) && (systemIdCanonic == NULL)) { xmlFreeParserCtxt(ctxt); return(NULL); }