Commit f94b82d9 authored by Dave Love's avatar Dave Love

(ensure_scope_buffer_room): Fix xrealloc call.

parent 5edf6b55
......@@ -1202,7 +1202,7 @@ ensure_scope_buffer_room (len)
if (scope_buffer_len + len >= scope_buffer_size)
{
int new_size = max (2 * scope_buffer_size, scope_buffer_len + len);
scope_buffer = (char *) xrealloc (new_size);
scope_buffer = (char *) xrealloc (scope_buffer, new_size);
scope_buffer_size = new_size;
}
}
......
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