aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-icq.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-icq.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-icq.c')
-rw-r--r--epan/dissectors/packet-icq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-icq.c b/epan/dissectors/packet-icq.c
index af4adabde2..e992b1af0d 100644
--- a/epan/dissectors/packet-icq.c
+++ b/epan/dissectors/packet-icq.c
@@ -1106,7 +1106,7 @@ dissect_icqv5Client(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
* bytes in the buffer.
*/
rounded_size = ((((capturedsize - ICQ5_CL_SESSIONID) + 3)/4)*4) + ICQ5_CL_SESSIONID;
- /* rounded_size might exceed the tvb bounds so we can't just use tvb_memdup here. */
+ /* rounded_size might exceed the tvb bounds so we can't just use tvb_g_memdup here. */
decr_pd = (guint8 *)g_malloc(rounded_size);
tvb_memcpy(tvb, decr_pd, 0, capturedsize);
decrypt_v5(decr_pd, rounded_size, key);