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_bssmap.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_bssmap.c')
-rw-r--r-- | epan/dissectors/packet-gsm_a_bssmap.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/epan/dissectors/packet-gsm_a_bssmap.c b/epan/dissectors/packet-gsm_a_bssmap.c index 96a8a7fd49..16137af5bb 100644 --- a/epan/dissectors/packet-gsm_a_bssmap.c +++ b/epan/dissectors/packet-gsm_a_bssmap.c @@ -44,7 +44,7 @@ #include <epan/packet.h> #include <epan/tap.h> -#include <epan/emem.h> +#include <epan/wmem/wmem.h> #include <epan/asn1.h> #include "packet-bssap.h" @@ -7216,9 +7216,10 @@ dissect_bssmap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) str = try_val_to_str_idx_ext((guint32) oct, &gsm_a_bssmap_msg_strings_ext, &idx); if (sccp_msg_p && !sccp_msg_p->data.co.label) { - sccp_msg_p->data.co.label = se_strdup(val_to_str_ext((guint32)oct, - &gsm_a_bssmap_msg_strings_ext, - "BSSMAP (0x%02x)")); + sccp_msg_p->data.co.label = wmem_strdup(wmem_file_scope(), + val_to_str_ext((guint32)oct, + &gsm_a_bssmap_msg_strings_ext, + "BSSMAP (0x%02x)")); } /* |