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

Wireshark-dev: [Wireshark-dev] p_add_proto_data() memory handling question

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Mon, 28 Aug 2006 13:06:01 -0700
In regard to the p_add_proto_data() and p_get_proto_data() functions, 
README.developer says that "The data pointers passed into the 
p_add_proto_data a re not managed by the proto_data routines. If you use 
malloc or any other dynamic memory allocation scheme, you must release 
the data when it isn't required."

Does this man that even data allocated by se_alloc() will not be 
released automatically?


Steve