aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ieee1609dot2.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2021-07-23 15:21:02 -0400
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-07-26 15:30:11 +0000
commite69446aa55d293412002375a549e85327267e65b (patch)
tree784bba0753e5f961df780eb5c9c613828cefca83 /epan/dissectors/packet-ieee1609dot2.c
parent3467b98eb72f8971c83b25b920419b8d0d49016a (diff)
asn1: convert most dissectors to pinfo->pool
Part 1/2 as the commits were too big for CI. Largely find/replace, with a few manual tweaks. Then regenerate the asn1 dissector sources and make sure everything still builds. There are a handful of cases I skipped as too complex, but this covers most of the asn1 dissectors.
Diffstat (limited to 'epan/dissectors/packet-ieee1609dot2.c')
-rw-r--r--epan/dissectors/packet-ieee1609dot2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ieee1609dot2.c b/epan/dissectors/packet-ieee1609dot2.c
index 241872dccb..04c9436f56 100644
--- a/epan/dissectors/packet-ieee1609dot2.c
+++ b/epan/dissectors/packet-ieee1609dot2.c
@@ -2059,7 +2059,7 @@ static const oer_sequence_t Ieee1609Dot2Data_sequence[] = {
static int
dissect_ieee1609dot2_Ieee1609Dot2Data(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
#line 73 "./asn1/ieee1609dot2/ieee1609dot2.cnf"
- actx->private_data = (void*)wmem_new0(wmem_packet_scope(), ieee1609_private_data_t);
+ actx->private_data = (void*)wmem_new0(actx->pinfo->pool, ieee1609_private_data_t);
offset = dissect_oer_sequence(tvb, offset, actx, tree, hf_index,
ett_ieee1609dot2_Ieee1609Dot2Data, Ieee1609Dot2Data_sequence);