diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-08-30 14:49:55 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-08-30 14:49:55 +0000 |
commit | 84bf0acc0035cb284e8afcfb51ac7171eafc25ef (patch) | |
tree | d467f44d9e8986593c53be452b53bc5f878971d8 /epan/dissectors/packet-gsm_a_dtap.c | |
parent | ac5619426a416f523bd193413f43c3360b37bd9c (diff) |
Convert a few dissectors from EMEM to WMEM API
svn path=/trunk/; revision=51597
Diffstat (limited to 'epan/dissectors/packet-gsm_a_dtap.c')
-rw-r--r-- | epan/dissectors/packet-gsm_a_dtap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-gsm_a_dtap.c b/epan/dissectors/packet-gsm_a_dtap.c index a28ce2a817..7e9f5bf1a6 100644 --- a/epan/dissectors/packet-gsm_a_dtap.c +++ b/epan/dissectors/packet-gsm_a_dtap.c @@ -106,7 +106,7 @@ #include <epan/packet.h> #include <epan/prefs.h> #include <epan/tap.h> -#include <epan/emem.h> +#include <epan/wmem/wmem.h> #include <epan/asn1.h> #include <epan/strutil.h> @@ -2634,7 +2634,7 @@ de_cld_party_bcd_num(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, gu if(addr_extr) { if (sccp_assoc && ! sccp_assoc->called_party) { - sccp_assoc->called_party = se_strdup(a_bigbuf); + sccp_assoc->called_party = wmem_strdup(wmem_file_scope(), a_bigbuf); } if (add_string) @@ -6527,7 +6527,7 @@ dissect_dtap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) dtap_tree = proto_item_add_subtree(dtap_item, ett_dtap_msg); if (sccp_msg && !sccp_msg->data.co.label) { - sccp_msg->data.co.label = se_strdup_printf("DTAP (0x%02x)",oct); + sccp_msg->data.co.label = wmem_strdup_printf(wmem_file_scope(), "DTAP (0x%02x)",oct); } @@ -6542,7 +6542,7 @@ dissect_dtap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) dtap_tree = proto_item_add_subtree(dtap_item, ett_tree); if (sccp_msg && !sccp_msg->data.co.label) { - sccp_msg->data.co.label = se_strdup(msg_str); + sccp_msg->data.co.label = wmem_strdup(wmem_file_scope(), msg_str); } col_append_fstr(pinfo->cinfo, COL_INFO, "%s ", msg_str); |