diff options
author | Evan Huus <eapache@gmail.com> | 2021-07-23 15:21:02 -0400 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-07-26 15:30:11 +0000 |
commit | e69446aa55d293412002375a549e85327267e65b (patch) | |
tree | 784bba0753e5f961df780eb5c9c613828cefca83 /epan/dissectors/asn1/acse | |
parent | 3467b98eb72f8971c83b25b920419b8d0d49016a (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/asn1/acse')
-rw-r--r-- | epan/dissectors/asn1/acse/acse.cnf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/asn1/acse/acse.cnf b/epan/dissectors/asn1/acse/acse.cnf index 48c615dbe9..8676d687a4 100644 --- a/epan/dissectors/asn1/acse/acse.cnf +++ b/epan/dissectors/asn1/acse/acse.cnf @@ -88,7 +88,7 @@ PDV-list/presentation-data-values/octet-aligned pDVList_octet_aligned /* look up the indirect reference */ if((oid = find_oid_by_pres_ctx_id(actx->pinfo, indir_ref)) != NULL) { - actx->external.direct_reference = wmem_strdup(wmem_packet_scope(), oid); + actx->external.direct_reference = wmem_strdup(actx->pinfo->pool, oid); actx->external.direct_ref_present = TRUE; } |