diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-14 10:53:29 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-14 10:53:29 +0000 |
commit | 074349264e4d3e139ed2622645bdef231b63ede3 (patch) | |
tree | 68da320329816427291c39c58253c4ebd9c5736d /epan/dissectors/packet-dcom.c | |
parent | f9faa339a57cbd3837dbad3de72a0c0e18fbd809 (diff) |
Convert some dissectors to wmem (leaving uat-like memory with emem for now)
svn path=/trunk/; revision=52031
Diffstat (limited to 'epan/dissectors/packet-dcom.c')
-rw-r--r-- | epan/dissectors/packet-dcom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-dcom.c b/epan/dissectors/packet-dcom.c index a0c7325a85..c5b75c5162 100644 --- a/epan/dissectors/packet-dcom.c +++ b/epan/dissectors/packet-dcom.c @@ -86,7 +86,7 @@ #include <glib.h> #include <epan/packet.h> -#include <epan/emem.h> +#include <epan/wmem/wmem.h> #include <epan/addr_resolv.h> #include <wsutil/inet_aton.h> #include <epan/expert.h> @@ -325,7 +325,7 @@ dcom_interface_t *dcom_interface_new(packet_info *pinfo, const guint8 *ip, e_uui if(oxid == 0 || oid == 0) { /*g_warning("interface_new#%u", pinfo->fd->num);*/ - interf = se_new(dcom_interface_t); + interf = wmem_new(wmem_file_scope(), dcom_interface_t); interf->parent = NULL; interf->private_data = NULL; interf->first_packet = pinfo->fd->num; @@ -1944,7 +1944,7 @@ dcom_register_rountine(dcom_dissect_fn_t routine, e_uuid_t* uuid) if (dcom_get_rountine_by_uuid(uuid)) return -1; - marshaler = se_new(dcom_marshaler_t); + marshaler = wmem_new(wmem_file_scope(), dcom_marshaler_t); if (!marshaler) { /*memory error*/ return -1; |