diff options
author | Evan Huus <eapache@gmail.com> | 2013-06-19 22:47:36 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-06-19 22:47:36 +0000 |
commit | b1e12ec925fd8b3b27a2c06baf655798ec0dcbb6 (patch) | |
tree | 06edd7bf499f2f294b7c723ec9fcc44f29c63274 /epan/dissectors/packet-t38.c | |
parent | 8e7abd987101794c25c4cf3cdfcefc821a821fec (diff) |
Convert the rest of the ASN1 dissectors from emem to wmem.
svn path=/trunk/; revision=50063
Diffstat (limited to 'epan/dissectors/packet-t38.c')
-rw-r--r-- | epan/dissectors/packet-t38.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-t38.c b/epan/dissectors/packet-t38.c index 36a97d6a26..1259313480 100644 --- a/epan/dissectors/packet-t38.c +++ b/epan/dissectors/packet-t38.c @@ -69,7 +69,7 @@ #include <epan/asn1.h> #include "packet-per.h" #include "packet-tpkt.h" -#include <epan/emem.h> +#include <epan/wmem/wmem.h> #include <epan/strutil.h> void proto_register_t38(void); @@ -308,7 +308,7 @@ void t38_add_address(packet_info *pinfo, */ if ( ! p_conversation_data ) { /* Create conversation data */ - p_conversation_data = se_new(t38_conv); + p_conversation_data = wmem_new(wmem_file_scope(), t38_conv); conversation_add_proto_data(p_conversation, proto_t38, p_conversation_data); } @@ -1034,7 +1034,7 @@ init_t38_info_conv(packet_info *pinfo) /* create the conversation if it doen't exist */ if (!p_t38_conv) { - p_t38_conv = se_new(t38_conv); + p_t38_conv = wmem_new(wmem_file_scope(), t38_conv); p_t38_conv->setup_method[0] = '\0'; p_t38_conv->setup_frame_number = 0; @@ -1062,7 +1062,7 @@ init_t38_info_conv(packet_info *pinfo) } /* copy the t38 conversation info to the packet t38 conversation */ - p_t38_packet_conv = se_new(t38_conv); + p_t38_packet_conv = wmem_new(wmem_file_scope(), t38_conv); g_strlcpy(p_t38_packet_conv->setup_method, p_t38_conv->setup_method, MAX_T38_SETUP_METHOD_SIZE); p_t38_packet_conv->setup_frame_number = p_t38_conv->setup_frame_number; |