aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pres.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2021-07-23 15:21:02 -0400
committerEvan Huus <eapache@gmail.com>2021-07-26 14:00:09 -0400
commitd09fb571fe4f2633ce888f35edae6e333665858c (patch)
treef43759c81f7b733abb259106af8a015ed0d558f8 /epan/dissectors/packet-pres.c
parente69446aa55d293412002375a549e85327267e65b (diff)
asn1: convert most dissectors to pinfo->pool
Part 2/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-pres.c')
-rw-r--r--epan/dissectors/packet-pres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-pres.c b/epan/dissectors/packet-pres.c
index 2f7a77af20..0fe8f4262c 100644
--- a/epan/dissectors/packet-pres.c
+++ b/epan/dissectors/packet-pres.c
@@ -418,7 +418,7 @@ dissect_pres_Presentation_context_identifier(gboolean implicit_tag _U_, tvbuff_t
oid = find_oid_by_pres_ctx_id(actx->pinfo, presentation_context_identifier);
- if(oid && (name = oid_resolved_from_string(wmem_packet_scope(), oid))) {
+ if(oid && (name = oid_resolved_from_string(actx->pinfo->pool, oid))) {
proto_item_append_text(actx->created_item, " (%s)", name);
}