aboutsummaryrefslogtreecommitdiffstats
path: root/debugXML.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2008-02-21 22:31:55 +0000
committerDaniel Veillard <veillard@src.gnome.org>2008-02-21 22:31:55 +0000
commit3066351275d72ff2ae8db57213084bb1719f5a46 (patch)
tree49c35de0077db868a6adcd0dfd1eff0a0074ac48 /debugXML.c
parent5ac88237e1b4a4d924d19f66258717fc3895f26a (diff)
downloadandroid_external_libxml2-3066351275d72ff2ae8db57213084bb1719f5a46.tar.gz
android_external_libxml2-3066351275d72ff2ae8db57213084bb1719f5a46.tar.bz2
android_external_libxml2-3066351275d72ff2ae8db57213084bb1719f5a46.zip
made one of the changes suggested by Brian Krahmer allow to pass '--' on
* debugXML.c: made one of the changes suggested by Brian Krahmer * testRegexp.c: allow to pass '--' on the command line to allow regexps starting with the character '-' Daniel svn path=/trunk/; revision=3697
Diffstat (limited to 'debugXML.c')
-rw-r--r--debugXML.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/debugXML.c b/debugXML.c
index 3985ad38..f66f5964 100644
--- a/debugXML.c
+++ b/debugXML.c
@@ -3244,6 +3244,7 @@ xmlShell(xmlDocPtr doc, char *filename, xmlShellReadlineFunc input,
"Unknown command %s\n", command);
}
free(cmdline); /* not xmlFree here ! */
+ cmdline = NULL;
}
#ifdef LIBXML_XPATH_ENABLED
xmlXPathFreeContext(ctxt->pctxt);