commit | e5984080eab3f723c54df177dbfecc9bc9812927 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Tue Aug 19 22:21:13 2003 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Tue Aug 19 22:21:13 2003 +0000 |
tree | 08efb0225a659b021623a6904a8185295b4a5385 | |
parent | 6155d8aafa3cc60b5fdaaf75b423e489ea8280c4 [diff] [blame] |
fixes a small bug introduced in last commit and detected by valgrind. * tree.c: fixes a small bug introduced in last commit and detected by valgrind. Daniel
diff --git a/tree.c b/tree.c index 135c92b..ad99092 100644 --- a/tree.c +++ b/tree.c
@@ -6427,6 +6427,7 @@ memcpy(rebuf, buf->content, buf->use); xmlFree(buf->content); } + rebuf[buf->use] = 0; } if (rebuf == NULL) { xmlGenericError(xmlGenericErrorContext,