summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-foundry.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-foundry.c')
-rw-r--r--epan/dissectors/packet-foundry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-foundry.c b/epan/dissectors/packet-foundry.c
index ede958c377..5c4eb3f8f9 100644
--- a/epan/dissectors/packet-foundry.c
+++ b/epan/dissectors/packet-foundry.c
@@ -148,7 +148,7 @@ dissect_string_tlv(tvbuff_t *tvb, packet_info *pinfo, int offset, int length, pr
offset += 4;
length -= 4;
- string_value = tvb_get_ephemeral_string(tvb, offset, length);
+ string_value = tvb_get_string(wmem_packet_scope(), tvb, offset, length);
proto_item_append_text(string_item, ": \"%s\"",
format_text(string_value, strlen(string_value)));