Commit baaf03f8 authored by Aron Xu's avatar Aron Xu Committed by Daniel Veillard

Fix an error in previous commit

parent 4f9fdc70
......@@ -529,7 +529,7 @@ xmlGetDocEntity(xmlDocPtr doc, const xmlChar *name) {
*/
#define growBufferReentrant() { \
xmlChar *tmp; \
size_t new_size = buffer_size *= 2; \
size_t new_size = buffer_size * 2; \
if (new_size < buffer_size) goto mem_error; \
tmp = (xmlChar *) xmlRealloc(buffer, new_size); \
if (tmp == NULL) goto mem_error; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment