aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fcfcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-fcfcs.c')
-rw-r--r--epan/dissectors/packet-fcfcs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-fcfcs.c b/epan/dissectors/packet-fcfcs.c
index b486ae8ed1..c1e606f349 100644
--- a/epan/dissectors/packet-fcfcs.c
+++ b/epan/dissectors/packet-fcfcs.c
@@ -28,7 +28,7 @@
#include <glib.h>
#include <epan/packet.h>
-#include <epan/emem.h>
+#include <epan/wmem/wmem.h>
#include <epan/conversation.h>
#include <epan/etypes.h>
#include "packet-scsi.h"
@@ -817,10 +817,10 @@ dissect_fcfcs (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
cdata->opcode = opcode;
}
else {
- req_key = se_new(fcfcs_conv_key_t);
+ req_key = wmem_new(wmem_file_scope(), fcfcs_conv_key_t);
req_key->conv_idx = conversation->index;
- cdata = se_new(fcfcs_conv_data_t);
+ cdata = wmem_new(wmem_file_scope(), fcfcs_conv_data_t);
cdata->opcode = opcode;
g_hash_table_insert (fcfcs_req_hash, req_key, cdata);