[Telepathy-commits] [telepathy-glib/master] Improve comment
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu Dec 18 10:41:29 PST 2008
20080415182829-53eee-91a492728f4b982d044f5f30abcf5532bec98df9.gz
---
examples/cm/echo-message-parts/chan.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/examples/cm/echo-message-parts/chan.c b/examples/cm/echo-message-parts/chan.c
index 8f86fdf..310152c 100644
--- a/examples/cm/echo-message-parts/chan.c
+++ b/examples/cm/echo-message-parts/chan.c
@@ -93,7 +93,8 @@ send_message (GObject *object,
tp_handle_ref (contact_repo, self->priv->handle);
- /* This consumes the data, so we mustn't free it */
+ /* This consumes one ref to the handle, and the array of parts, so we
+ * mustn't unref/free them here */
tp_message_mixin_take_received (object, timestamp, self->priv->handle,
message_type, parts);
--
1.5.6.5
More information about the Telepathy-commits
mailing list