[Telepathy-commits] [telepathy-glib/master] TpMessageMixin: don't leak the Text content of messages
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu Dec 18 10:41:32 PST 2008
20080415175955-53eee-bf512f29c19044cdd6e2a9b41a1f58e22096037b.gz
---
telepathy-glib/message-mixin.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/telepathy-glib/message-mixin.c b/telepathy-glib/message-mixin.c
index 55ecbf0..58d209e 100644
--- a/telepathy-glib/message-mixin.c
+++ b/telepathy-glib/message-mixin.c
@@ -213,6 +213,8 @@ pending_item_free (PendingItem *pending,
g_ptr_array_free (pending->content, TRUE);
}
+ g_free (pending->old_text);
+
g_slice_free (PendingItem, pending);
}
--
1.5.6.5
More information about the Telepathy-commits
mailing list