The GWBUF shared buffer and its data is now allocated in one chunk so that the data directly follows the shared buffer. That way, creating a GWBUF will involve 2 and not 3 calls to malloc and freeing one will involve 2 and not 3 calls to free.