Ethereal

Re: [Ethereal-dev] free dynamic memory
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: January 2006


See   README.malloc

You can use se_alloc() nd friends.    memory allocated with this function will be automatically released when ethereal has finished with the capture.


You also have ep_alloc() which releases all memory when dissection of that particular packet has completed.




On 1/3/06, ext-henning.treu@xxxxxxxxx <ext-henning.treu@xxxxxxxxx > wrote:
Hi list, ext-henning.treu@xxxxxxxxx

my dissector allocs some dynamic memory through the dissecting process.
the question is: where do i need to free the memory? i want to use it during the whole dissecting process. afterwards it can be freed. is there a function to clean up after dissecting a whole capture file?

thanks
henning

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev


Powered by MHonArc 2.6.10