aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-spnego.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-06-19 22:47:36 +0000
committerEvan Huus <eapache@gmail.com>2013-06-19 22:47:36 +0000
commitb1e12ec925fd8b3b27a2c06baf655798ec0dcbb6 (patch)
tree06edd7bf499f2f294b7c723ec9fcc44f29c63274 /epan/dissectors/packet-spnego.c
parent8e7abd987101794c25c4cf3cdfcefc821a821fec (diff)
Convert the rest of the ASN1 dissectors from emem to wmem.
svn path=/trunk/; revision=50063
Diffstat (limited to 'epan/dissectors/packet-spnego.c')
-rw-r--r--epan/dissectors/packet-spnego.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-spnego.c b/epan/dissectors/packet-spnego.c
index 9c26e03188..869304517c 100644
--- a/epan/dissectors/packet-spnego.c
+++ b/epan/dissectors/packet-spnego.c
@@ -49,7 +49,7 @@
#include "packet-kerberos.h"
#include <epan/crypt/rc4.h>
#include <epan/conversation.h>
-#include <epan/emem.h>
+#include <epan/wmem/wmem.h>
#include <epan/asn1.h>
#include <string.h>
@@ -1073,7 +1073,7 @@ decrypt_gssapi_krb_arcfour_wrap(proto_tree *tree, packet_info *pinfo, tvbuff_t *
/* 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 *)ep_alloc(length);
+ cryptocopy=(guint8 *)wmem_alloc(wmem_packet_scope(), length);
if(output_message_buffer){
g_free(output_message_buffer);
output_message_buffer=NULL;