aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-chargen.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-chargen.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-chargen.c')
-rw-r--r--epan/dissectors/packet-chargen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-chargen.c b/epan/dissectors/packet-chargen.c
index 9b4320fb54..0064d59e53 100644
--- a/epan/dissectors/packet-chargen.c
+++ b/epan/dissectors/packet-chargen.c
@@ -47,7 +47,7 @@ dissect_chargen(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* disse
chargen_tree = proto_item_add_subtree(ti, ett_chargen);
len = tvb_reported_length(tvb);
- data = tvb_get_string_enc(wmem_packet_scope(), tvb, 0, len, ENC_ASCII);
+ data = tvb_get_string_enc(pinfo->pool, tvb, 0, len, ENC_ASCII);
proto_tree_add_string_format(chargen_tree, hf_chargen_data, tvb, 0,
len, "Data", "Data (%u): %s", len, data);