rem: new_buffer = (struct buffer_record *) xmalloc (sizeof (struct buffer_record));  new_buffer->buffer = (char *) xmalloc (size + 1);
add: new_buffer->buffer = xmalloc (size + 1);
context: create_new_buffer (unsigned int size){  struct buffer_record *new_buffer;  new_buffer = (struct buffer_record *)    xmalloc (sizeof (struct buffer_record));  new_buffer->buffer = (char *) xmalloc (size + 1);  new_buffer->bytes_alloc = size;  new_buffer->line_start = new_buffer->curr_line = NULL;  return new_buffer;}