diff options
Diffstat (limited to 'epan/dissectors/packet-fcdns.c')
-rw-r--r-- | epan/dissectors/packet-fcdns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-fcdns.c b/epan/dissectors/packet-fcdns.c index bb5823017e..bee916a574 100644 --- a/epan/dissectors/packet-fcdns.c +++ b/epan/dissectors/packet-fcdns.c @@ -1281,7 +1281,7 @@ static guint8 * zonenm_to_str (tvbuff_t *tvb, gint offset) { int len = tvb_get_guint8 (tvb, offset); - return tvb_get_ephemeral_string (tvb, offset+4, len); + return tvb_get_string (wmem_packet_scope(), tvb, offset+4, len); } static void @@ -1347,7 +1347,7 @@ dissect_fcdns_swils_entries (tvbuff_t *tvb, proto_tree *tree, int offset) proto_tree_add_item (tree, &hfi_fcdns_sw2_objfmt, tvb, offset, 1, ENC_BIG_ENDIAN); proto_tree_add_string (tree, &hfi_fcdns_rply_ownerid, tvb, offset+1, - 3, fc_to_str (tvb_get_ephemeral_string (tvb, offset+1, + 3, fc_to_str (tvb_get_string (wmem_packet_scope(), tvb, offset+1, 3))); proto_tree_add_item (tree, &hfi_fcdns_rply_ptype, tvb, offset+4, 1, ENC_BIG_ENDIAN); |