From d6d7dd1e5664810b368231d03d56465112e3d82e Mon Sep 17 00:00:00 2001 From: Evan Huus Date: Fri, 16 Jul 2021 11:36:34 -0400 Subject: First pass pinfo->pool conversion Automated find/replace of wmem_packet_scope() with pinfo->pool in all files where it didn't cause a build failure. I also tweaked a few of the docs which got caught up. --- epan/dissectors/packet-simulcrypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-simulcrypt.c') diff --git a/epan/dissectors/packet-simulcrypt.c b/epan/dissectors/packet-simulcrypt.c index 5f0f2c3200..b2d88bffb2 100644 --- a/epan/dissectors/packet-simulcrypt.c +++ b/epan/dissectors/packet-simulcrypt.c @@ -1289,7 +1289,7 @@ dissect_simulcrypt_data(proto_tree *simulcrypt_tree, proto_item *simulcrypt_item /* Parameter Length 2 Bytes */ plen = tvb_get_ntohs(tvb, offset+2); /* read 2 byte length value */ /* Parameter Value plen Bytes */ - pvalue_char = tvb_bytes_to_str(wmem_packet_scope(), tvb, offset+4, plen); + pvalue_char = tvb_bytes_to_str(pinfo->pool, tvb, offset+4, plen); simulcrypt_item = proto_tree_add_item(simulcrypt_tree, hf_simulcrypt_parameter, tvb, offset, plen+2+2, ENC_NA ); -- cgit v1.2.3