aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-netrom.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-09-15 15:11:11 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-09-15 15:11:11 +0000
commit78508839049dfc7163096b13db9e89f9091708f6 (patch)
tree436cba2be2b1cef227f8b6ae3f2b08b2499374cb /epan/dissectors/packet-netrom.c
parentc5ffff76d87088bd66834af0ce8f2694d53fd54b (diff)
emem -> wmem
svn path=/trunk/; revision=52063
Diffstat (limited to 'epan/dissectors/packet-netrom.c')
-rw-r--r--epan/dissectors/packet-netrom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-netrom.c b/epan/dissectors/packet-netrom.c
index e299352930..80167f297e 100644
--- a/epan/dissectors/packet-netrom.c
+++ b/epan/dissectors/packet-netrom.c
@@ -48,7 +48,7 @@
#include <glib.h>
#include <epan/packet.h>
-#include <epan/emem.h>
+#include <epan/wmem/wmem.h>
#include <epan/ax25_pids.h>
#include "packet-netrom.h"
@@ -163,7 +163,7 @@ dissect_netrom_type(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *t
type = tvb_get_guint8( tvb, offset );
op_code = type &0x0f;
- info_buffer = ep_strdup_printf( "%s%s%s%s (0x%02x)",
+ info_buffer = wmem_strdup_printf( wmem_packet_scope(), "%s%s%s%s (0x%02x)",
val_to_str_const( op_code, op_code_vals_text, "Unknown" ),
( type & NETROM_MORE_FLAG ) ? ", More" : "",
( type & NETROM_NAK_FLAG ) ? ", NAK" : "",