aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-xtp.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-09-21 17:04:41 +0000
committerEvan Huus <eapache@gmail.com>2013-09-21 17:04:41 +0000
commit6df83e8078aafe6b6dfa03cf1abc33cde0f6612d (patch)
treee982807717a63c7dcf361f5166edda8156ddebf1 /epan/dissectors/packet-xtp.c
parent8abfcaea798bba1c4d1db2092d94d3b6bc3e932f (diff)
Add _g_ to the names of functions that allocate glib memory. This is a bit more
explicit, and frees up the "generic" names (like tvb_memdup) for new signatures that take the appropriate wmem pool. Majority of the conversion done with sed. svn path=/trunk/; revision=52164
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 4e42394515..1d05b76133 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_string(tvb, offset, msg_len);
+ diag->msg = tvb_get_g_string(tvb, offset, msg_len);
/** display **/
offset = start;