OG(active_ob_buffer).internal_output_handler = internal_output_handler;
OG(active_ob_buffer).internal_output_handler_buffer = (char *) emalloc(buffer_size);
OG(active_ob_buffer).internal_output_handler_buffer_size = buffer_size;
+ if (OG(active_ob_buffer).handler_name)
+ efree(OG(active_ob_buffer).handler_name);
OG(active_ob_buffer).handler_name = handler_name;
- OG(active_ob_buffer).erase = erase;
+ OG(active_ob_buffer).erase = erase;
}
/* }}} */