From 868b345eeaf9a7237d3609451ee715cf8ea43ec7 Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Sun, 15 Sep 2013 10:29:49 +0000 Subject: Convert a few more dissectors to wmem API svn path=/trunk/; revision=52053 --- epan/dissectors/packet-gsm_bssmap_le.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-gsm_bssmap_le.c') diff --git a/epan/dissectors/packet-gsm_bssmap_le.c b/epan/dissectors/packet-gsm_bssmap_le.c index 90b557e7f6..8c09505a5d 100644 --- a/epan/dissectors/packet-gsm_bssmap_le.c +++ b/epan/dissectors/packet-gsm_bssmap_le.c @@ -32,7 +32,7 @@ #include #include -#include +#include #include "packet-bssap.h" #include "packet-sccp.h" @@ -948,7 +948,9 @@ dissect_bssmap_le(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) str = try_val_to_str_idx((guint32) oct, gsm_bssmap_le_msg_strings, &idx); if (sccp_msg_p && !sccp_msg_p->data.co.label) { - sccp_msg_p->data.co.label = se_strdup(val_to_str((guint32) oct, gsm_bssmap_le_msg_strings, "BSSMAP LE(0x%02x)")); + sccp_msg_p->data.co.label = wmem_strdup(wmem_file_scope(), + val_to_str((guint32) oct, + gsm_bssmap_le_msg_strings, "BSSMAP LE(0x%02x)")); } /* -- cgit v1.2.3