Sebastien Tandel wrote:

> I've taking a look at emem.c and it clearly doesn't attach information
> about the chunk of memory being allocated. Then ep_realloc may only be
> the "allocate new, copy" solution.

Without that information, how do you know how much to copy (if you don't 
pass the old size explicitly, which would give it a different API from 
other realloc routines)?
_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to