aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sipfrag.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-sipfrag.c')
-rw-r--r--epan/dissectors/packet-sipfrag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sipfrag.c b/epan/dissectors/packet-sipfrag.c
index b548ae5f49..d8f14a3de2 100644
--- a/epan/dissectors/packet-sipfrag.c
+++ b/epan/dissectors/packet-sipfrag.c
@@ -79,7 +79,7 @@ dissect_sipfrag(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* For now, add all lines as unparsed strings */
/* Extract & add the string. */
- string = ep_tvb_get_string(tvb, offset, linelen);
+ string = tvb_get_ephemeral_string(tvb, offset, linelen);
proto_tree_add_string_format(sipfrag_tree, hf_line,
tvb, offset,
linelen, string,