aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-icep.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-09-15 13:46:13 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-09-15 13:46:13 +0000
commit9486a3d9747ad9426913dd3302e19c5884cc2bff (patch)
treef245f85039bfb7c41c76a68588c9e9ebe383e940 /epan/dissectors/packet-icep.c
parent888650324b6c2fc7f8c9d29f66d862f25b7e9a9f (diff)
More wmem conversion (leaving uat related functions aside)
svn path=/trunk/; revision=52055
Diffstat (limited to 'epan/dissectors/packet-icep.c')
-rw-r--r--epan/dissectors/packet-icep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-icep.c b/epan/dissectors/packet-icep.c
index 2846acffd6..009af1ccc8 100644
--- a/epan/dissectors/packet-icep.c
+++ b/epan/dissectors/packet-icep.c
@@ -45,6 +45,7 @@
#include <epan/packet.h>
#include <epan/expert.h>
#include <epan/prefs.h>
+#include <epan/wmem/wmem.h>
#include "packet-tcp.h"
#if 0
@@ -243,7 +244,7 @@ static void dissect_ice_string(packet_info *pinfo, proto_tree *tree, proto_item
s = tvb_get_ephemeral_string(tvb, offset, Size);
proto_tree_add_string(tree, hf_icep, tvb, offset, Size, s);
} else {
- s = ep_strdup("(empty)");
+ s = wmem_strdup(wmem_packet_scope(), "(empty)");
/* display the 0x00 Size byte when click on a empty ice_string */
proto_tree_add_string(tree, hf_icep, tvb, offset - 1, 1, s);
}