aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-xtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-xtp.c')
-rw-r--r--epan/dissectors/packet-xtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-xtp.c b/epan/dissectors/packet-xtp.c
index 1d05b76133..388ed9ed0b 100644
--- a/epan/dissectors/packet-xtp.c
+++ b/epan/dissectors/packet-xtp.c
@@ -878,7 +878,7 @@ dissect_xtp_diag(tvbuff_t *tvb, proto_tree *tree, guint32 offset) {
offset += 4;
/* message(n) */
msg_len = tvb_length_remaining(tvb, offset);
- diag->msg = tvb_get_g_string(tvb, offset, msg_len);
+ diag->msg = tvb_get_string(NULL, tvb, offset, msg_len);
/** display **/
offset = start;