diff options
author | Evan Huus <eapache@gmail.com> | 2013-06-19 22:47:36 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-06-19 22:47:36 +0000 |
commit | b1e12ec925fd8b3b27a2c06baf655798ec0dcbb6 (patch) | |
tree | 06edd7bf499f2f294b7c723ec9fcc44f29c63274 /epan/dissectors/packet-pres.c | |
parent | 8e7abd987101794c25c4cf3cdfcefc821a821fec (diff) |
Convert the rest of the ASN1 dissectors from emem to wmem.
svn path=/trunk/; revision=50063
Diffstat (limited to 'epan/dissectors/packet-pres.c')
-rw-r--r-- | epan/dissectors/packet-pres.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-pres.c b/epan/dissectors/packet-pres.c index 75f6ce611b..530bee1807 100644 --- a/epan/dissectors/packet-pres.c +++ b/epan/dissectors/packet-pres.c @@ -38,7 +38,7 @@ #include <epan/packet.h> #include <epan/prefs.h> #include <epan/conversation.h> -#include <epan/emem.h> +#include <epan/wmem/wmem.h> #include <epan/expert.h> #include <epan/uat.h> @@ -273,9 +273,9 @@ register_ctx_id_and_oid(packet_info *pinfo _U_, guint32 idx, const char *oid) return; } - pco=se_new(pres_ctx_oid_t); + pco=wmem_new(wmem_file_scope(), pres_ctx_oid_t); pco->ctx_id=idx; - pco->oid=se_strdup(oid); + pco->oid=wmem_strdup(wmem_file_scope(), oid); conversation=find_conversation (pinfo->fd->num, &pinfo->src, &pinfo->dst, pinfo->ptype, pinfo->srcport, pinfo->destport, 0); if (conversation) { |