aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ua3g.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-ua3g.c')
-rw-r--r--epan/dissectors/packet-ua3g.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ua3g.c b/epan/dissectors/packet-ua3g.c
index bfd5855d6c..8a536af442 100644
--- a/epan/dissectors/packet-ua3g.c
+++ b/epan/dissectors/packet-ua3g.c
@@ -1983,7 +1983,7 @@ decode_lcd_line_cmd(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo,
if (!ua3g_body_tree)
return;
- strbuf = wmem_strbuf_new_label(wmem_packet_scope());
+ strbuf = wmem_strbuf_new_label(pinfo->pool);
wmem_strbuf_append_printf(strbuf, "\"%s\"", tvb_format_text(tvb, offset + 2, length - 2));
@@ -2803,7 +2803,7 @@ decode_audio_config(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo,
int j;
int device_index = 0;
- strbuf = wmem_strbuf_new_label(wmem_packet_scope());
+ strbuf = wmem_strbuf_new_label(pinfo->pool);
while (length > 0) {