aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-spnego.c
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2021-07-26 02:28:50 +0100
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-07-26 14:09:37 +0000
commit6a619212c325b1ba619562e2b09c3d4f93603809 (patch)
tree8e698c9086101ccb2378e6319ef2469e8c00edf2 /epan/dissectors/packet-spnego.c
parenta7b5eec26501a860d2acddaa75f9c10c48fe3998 (diff)
Resync ASN.1 dissector sources
Diffstat (limited to 'epan/dissectors/packet-spnego.c')
-rw-r--r--epan/dissectors/packet-spnego.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-spnego.c b/epan/dissectors/packet-spnego.c
index 8cb5b2e849..475ec6dc7e 100644
--- a/epan/dissectors/packet-spnego.c
+++ b/epan/dissectors/packet-spnego.c
@@ -1073,7 +1073,7 @@ decrypt_gssapi_krb_arcfour_wrap(proto_tree *tree _U_, packet_info *pinfo, tvbuff
/* XXX we should only do this for first time, then store somewhere */
/* XXX We also need to re-read the keytab when the preference changes */
- cryptocopy=(guint8 *)wmem_alloc(pinfo->pool, length);
+ cryptocopy=(guint8 *)wmem_alloc(wmem_packet_scope(), length);
output_message_buffer=(guint8 *)wmem_alloc(pinfo->pool, length);
for(ek=enc_key_list;ek;ek=ek->next){