diff options
author | Evan Huus <eapache@gmail.com> | 2013-09-21 17:04:41 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-09-21 17:04:41 +0000 |
commit | 6df83e8078aafe6b6dfa03cf1abc33cde0f6612d (patch) | |
tree | e982807717a63c7dcf361f5166edda8156ddebf1 /epan/dissectors/packet-ppp.c | |
parent | 8abfcaea798bba1c4d1db2092d94d3b6bc3e932f (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-ppp.c')
-rw-r--r-- | epan/dissectors/packet-ppp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ppp.c b/epan/dissectors/packet-ppp.c index 54ea0d7cb7..816fc4d814 100644 --- a/epan/dissectors/packet-ppp.c +++ b/epan/dissectors/packet-ppp.c @@ -4604,7 +4604,7 @@ dissect_iphc_crtp_fh(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) tvb_ensure_bytes_exist (tvb, 0, hdr_len); /* ip_hdr_len + 8 */ /* allocate a copy of the IP packet */ - ip_packet = (guchar *)tvb_memdup(tvb, 0, length); + ip_packet = (guchar *)tvb_g_memdup(tvb, 0, length); /* restore the proper values to the IP and UDP length fields */ ip_packet[2] = length >> 8; |