Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] [PATCH][UPDATE] ptvcursor : one step further?

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 11 Mar 2007 13:33:51 -0700
Guy Harris wrote:

So, no, I don't see any reason not to implement ep_realloc().

...unless it's impossible for ep_realloc() to find out the *existing* size of the object being reallocated (malloc()/realloc() tend to attach a header before the chunk of memory being allocated, so free() knows how much to free, but, as there's no ep_free(), I don't think ep_malloc() attaches such a header).