commit | 11ce4004d86bb4b317c48b7d5124ba33e40e10f5 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Fri Mar 10 00:36:23 2006 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Fri Mar 10 00:36:23 2006 +0000 |
tree | 68340f0cd8fc76be20fdd0a28e0cbfc51e5d28b1 | |
parent | 14b5643947845df089376106517c4f7ba061e4b0 [diff] [blame] |
end of first pass on coverity reports. Daniel * runtest.c schematron.c testAutomata.c tree.c valid.c xinclude.c xmlcatalog.c xmlreader.c xmlregexp.c xpath.c: end of first pass on coverity reports. Daniel
diff --git a/xmlcatalog.c b/xmlcatalog.c index 0597e88..6f193b1 100644 --- a/xmlcatalog.c +++ b/xmlcatalog.c
@@ -120,7 +120,10 @@ command[i++] = *cur++; } command[i] = 0; - if (i == 0) continue; + if (i == 0) { + free(cmdline); + continue; + } nbargs++; /*