aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-afp.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-09-12 12:25:17 +0000
committerEvan Huus <eapache@gmail.com>2013-09-12 12:25:17 +0000
commit343772cbcf9ced336d40a6ad1886c93199ed9775 (patch)
tree800e4b86fde79cc1f1423268913cb3b89dfb45f1 /epan/dissectors/packet-afp.c
parent2d128b70bdb90dfc55f5cf41357b90ec75056549 (diff)
Convert a few more dissectors to wmem.
svn path=/trunk/; revision=51967
Diffstat (limited to 'epan/dissectors/packet-afp.c')
-rw-r--r--epan/dissectors/packet-afp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-afp.c b/epan/dissectors/packet-afp.c
index 610933101c..03c723b081 100644
--- a/epan/dissectors/packet-afp.c
+++ b/epan/dissectors/packet-afp.c
@@ -34,7 +34,7 @@
#include <epan/packet.h>
/* #include <epan/strutil.h> */
#include <epan/conversation.h>
-#include <epan/emem.h>
+#include <epan/wmem/wmem.h>
#include <epan/tap.h>
#include <epan/expert.h>
@@ -4842,10 +4842,10 @@ dissect_afp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
if (!request_val && !aspinfo->reply) {
afp_command = tvb_get_guint8(tvb, offset);
- new_request_key = se_new(afp_request_key);
+ new_request_key = wmem_new(wmem_file_scope(), afp_request_key);
*new_request_key = request_key;
- request_val = se_new(afp_request_val);
+ request_val = wmem_new(wmem_file_scope(), afp_request_val);
request_val->command = afp_command;
if (afp_command == AFP_SPOTLIGHTRPC)