summaryrefslogtreecommitdiff
path: root/xmlcatalog.c
diff options
context:
space:
mode:
authorMike Hommey <glandium@debian.org>2006-04-29 21:57:40 +0200
committerMike Hommey <glandium@debian.org>2006-04-29 21:57:40 +0200
commit07a67fa4bcc1b8bf2651ab41e5fc54a05059cf7e (patch)
tree7b377fd8e804a983cb2c57a43be1093ef179c5fd /xmlcatalog.c
parentc5d565931c4823dc8f62fffcb65aecfec516f7b9 (diff)
downloadlibxml2-07a67fa4bcc1b8bf2651ab41e5fc54a05059cf7e.tar.gz
Load /tmp/libxml2-2.6.24 intoupstream/2.6.24.dfsg
libxml2/branches/upstream/current.
Diffstat (limited to 'xmlcatalog.c')
-rw-r--r--xmlcatalog.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/xmlcatalog.c b/xmlcatalog.c
index 0597e88..6f193b1 100644
--- a/xmlcatalog.c
+++ b/xmlcatalog.c
@@ -120,7 +120,10 @@ static void usershell(void) {
command[i++] = *cur++;
}
command[i] = 0;
- if (i == 0) continue;
+ if (i == 0) {
+ free(cmdline);
+ continue;
+ }
nbargs++;
/*