aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ipdc.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2021-07-16 11:36:34 -0400
committerEvan Huus <eapache@gmail.com>2021-07-21 09:54:57 -0400
commit8ee8808876191e1b398fced6a1712d2fded6da23 (patch)
tree93c10e5c7397c4e94a0c250080ac34654efdf8d6 /epan/dissectors/packet-ipdc.c
parent9ed273e5da0b8b3f62e021a255d7b98203d1c165 (diff)
First pass pinfo->pool conversion, part 2
Automated find/replace of wmem_packet_scope() with pinfo->pool in all files where it didn't cause a build failure.
Diffstat (limited to 'epan/dissectors/packet-ipdc.c')
-rw-r--r--epan/dissectors/packet-ipdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ipdc.c b/epan/dissectors/packet-ipdc.c
index 46598aba16..03aec81f48 100644
--- a/epan/dissectors/packet-ipdc.c
+++ b/epan/dissectors/packet-ipdc.c
@@ -814,7 +814,7 @@ dissect_ipdc_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* d
/* simple IPDC_ASCII strings */
case IPDC_ASCII:
DISSECTOR_ASSERT(len<=IPDC_STR_LEN);
- tmp_tag_text = (char *) tvb_get_string_enc(wmem_packet_scope(), tvb, offset+2, len, ENC_ASCII|ENC_NA);
+ tmp_tag_text = (char *) tvb_get_string_enc(pinfo->pool, tvb, offset+2, len, ENC_ASCII|ENC_NA);
proto_tree_add_string_format(tag_tree, hf_ipdc_ascii, tvb, offset,
len + 2, tmp_tag_text, "%s (0x%2.2x): %s", des, tag,
tmp_tag_text);