diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-15 09:12:01 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-15 09:12:01 +0000 |
commit | 07c29e74e9ca2ef0003069b212b3c1ac382abf5a (patch) | |
tree | 2a97b9386cf4ebaf03438290b8bdd392e717d6de /epan/dissectors/packet-fcfcs.c | |
parent | eda53fd1b729d42dc26d05e7636299b65936e140 (diff) |
Convert a few more dissectors to wmem API
svn path=/trunk/; revision=52052
Diffstat (limited to 'epan/dissectors/packet-fcfcs.c')
-rw-r--r-- | epan/dissectors/packet-fcfcs.c | 6 |
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); |