661a662,666
>
> // if we did not copy the static data pointer, allocate data
> // dynamically instead
> if (!data)
> allocate();
945c950
< /** If there isn't data in the packet, allocate some. */
---
> /** Allocate memory for the packet. */
949,953d953
< if (data) {
< assert(flags.isSet(STATIC_DATA|DYNAMIC_DATA));
< return;
< }
<