From 578ead425bdbf4048ba80ad2f41b4e80905eb860 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Thu, 26 Sep 2013 21:08:49 +0000 Subject: From beroset@mindspring.com: removed obsolete references to se_alloc https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9194 svn path=/trunk/; revision=52224 --- doc/README.dissector | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/README.dissector b/doc/README.dissector index 733d15db89..a4949d7e83 100644 --- a/doc/README.dissector +++ b/doc/README.dissector @@ -2255,7 +2255,7 @@ Where: unique protocol number created with proto_register_protocol. Protocols are typically registered in the proto_register_XXXX section of your dissector. "data" is a pointer to the data you wish to associate with the -conversation. "data" usually points to "se_alloc'd" memory; the +conversation. "data" usually points to "wmem_alloc'd" memory; the memory will be automatically freed each time a new dissection begins and thus need not be managed (freed) by the dissector. Using the protocol number allows several dissectors to @@ -2285,7 +2285,7 @@ returns a pointer to the data requested, or NULL if no data was found. After you are finished with a conversation, you can remove your association with this function. Please note that ONLY the conversation entry is -removed. If you have allocated any memory for your data (other than with se_alloc), +removed. If you have allocated any memory for your data (other than with wmem_alloc), you must free it as well. The conversation_delete_proto_data prototype: -- cgit v1.2.1