On Mon, May 25, 2009 at 11:38:37PM +0200, David Aggeler wrote: > What's the suggested alternative to se_alloc()/ep_alloc()? I need more > than 5 MB.
Do you need the memory to be automatically released by Wireshark? If not, use g_malloc(), which is GLib's version of malloc. Note that g_malloc will cause Wireshark to terminate if there is not enough memory available (so it won't return NULL). Use g_free() to free it. You CAN pass g_free() a NULL pointer - it will just ignore it. Steve ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
