diff options
author | Evan Huus <eapache@gmail.com> | 2021-07-16 11:36:34 -0400 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2021-07-21 09:54:57 -0400 |
commit | 8ee8808876191e1b398fced6a1712d2fded6da23 (patch) | |
tree | 93c10e5c7397c4e94a0c250080ac34654efdf8d6 /epan/dissectors/packet-bthcrp.c | |
parent | 9ed273e5da0b8b3f62e021a255d7b98203d1c165 (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-bthcrp.c')
-rw-r--r-- | epan/dissectors/packet-bthcrp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bthcrp.c b/epan/dissectors/packet-bthcrp.c index 92a3fc1cf3..30aac6a531 100644 --- a/epan/dissectors/packet-bthcrp.c +++ b/epan/dissectors/packet-bthcrp.c @@ -235,7 +235,7 @@ dissect_control(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, } else { const guint8 *id; - proto_tree_add_item_ret_string(tree, hf_bthcrp_control_1284_id, tvb, offset, tvb_reported_length_remaining(tvb, offset), ENC_ASCII | ENC_NA, wmem_packet_scope(), &id); + proto_tree_add_item_ret_string(tree, hf_bthcrp_control_1284_id, tvb, offset, tvb_reported_length_remaining(tvb, offset), ENC_ASCII | ENC_NA, pinfo->pool, &id); col_append_fstr(pinfo->cinfo, COL_INFO, " - 1284 ID: %s", id); offset += tvb_reported_length_remaining(tvb, offset); } |