aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-icep.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-icep.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-icep.c')
-rw-r--r--epan/dissectors/packet-icep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-icep.c b/epan/dissectors/packet-icep.c
index 78a6964813..7404e1278f 100644
--- a/epan/dissectors/packet-icep.c
+++ b/epan/dissectors/packet-icep.c
@@ -226,9 +226,9 @@ static void dissect_ice_string(packet_info *pinfo, proto_tree *tree, proto_item
if ( Size != 0 ) {
- proto_tree_add_item_ret_string(tree, hf_icep, tvb, offset, Size, ENC_ASCII, wmem_packet_scope(), &s);
+ proto_tree_add_item_ret_string(tree, hf_icep, tvb, offset, Size, ENC_ASCII, pinfo->pool, &s);
} else {
- s = wmem_strdup(wmem_packet_scope(), "(empty)");
+ s = wmem_strdup(pinfo->pool, "(empty)");
/* display the 0x00 Size byte when click on a empty ice_string */
proto_tree_add_string(tree, hf_icep, tvb, offset - 1, 1, s);
}