Nothing in the description of evbuffer_pullup() suggests to me that this would need to happen. There’s no discussion about freeing the returned memory, for instance, which would need to happen if it were a separate buffer. But there’s a simple test: try calling evbuffer_pullup() on the same buffer twice before draining it, and see if the pointer returned both times is the same… -Philip
|