aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/pres
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2013-09-15 14:37:46 +0000
committerJörg Mayer <jmayer@loplof.de>2013-09-15 14:37:46 +0000
commit65ff43fada27d83e87c5d7b51702cf990a394cff (patch)
tree24aec39426cc8470ed3bc62f02903c286018d684 /asn1/pres
parentc65459c729d0ecafd550a2c4ad5fea4caaa4dae0 (diff)
Finish asn1 emem -> wmem conversion.
Left are snmp and those functions that don't have wmem equivalents. svn path=/trunk/; revision=52060
Diffstat (limited to 'asn1/pres')
-rw-r--r--asn1/pres/packet-pres-template.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/asn1/pres/packet-pres-template.c b/asn1/pres/packet-pres-template.c
index 7b17637970..d64a1fc38e 100644
--- a/asn1/pres/packet-pres-template.c
+++ b/asn1/pres/packet-pres-template.c
@@ -30,7 +30,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>
@@ -141,9 +141,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) {