diff options
Diffstat (limited to 'epan/dissectors/packet-fc.c')
-rw-r--r-- | epan/dissectors/packet-fc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-fc.c b/epan/dissectors/packet-fc.c index d2fd3db82b..852a416ccf 100644 --- a/epan/dissectors/packet-fc.c +++ b/epan/dissectors/packet-fc.c @@ -1055,9 +1055,9 @@ dissect_fc_helper (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean /* Yes - dissect it. */ if (tree) { proto_tree_add_string (fc_tree, hf_fc_nh_da, tvb, next_offset, 8, - fcwwn_to_str (tvb_get_ephemeral_string (tvb, offset, 8))); + fcwwn_to_str (tvb_get_string (wmem_packet_scope(), tvb, offset, 8))); proto_tree_add_string (fc_tree, hf_fc_nh_sa, tvb, offset+8, 8, - fcwwn_to_str (tvb_get_ephemeral_string (tvb, offset+8, 8))); + fcwwn_to_str (tvb_get_string (wmem_packet_scope(), tvb, offset+8, 8))); } next_offset += 16; } |