Mercurial > pidgin.yaz
changeset 29599:78ac6e4d3de9
Add a list of participants back to PurpleMedia.
author | maiku@pidgin.im |
---|---|
date | Wed, 28 Oct 2009 18:07:27 +0000 |
parents | 18bc5ae20e23 |
children | 80bdae3ea957 |
files | libpurple/media/media.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/media/media.c Wed Oct 28 17:58:59 2009 +0000 +++ b/libpurple/media/media.c Wed Oct 28 18:07:27 2009 +0000 @@ -99,7 +99,7 @@ gpointer prpl_data; GHashTable *sessions; /* PurpleMediaSession table */ - + GList *participants; GList *streams; /* PurpleMediaStream table */ #else gpointer dummy; @@ -338,6 +338,10 @@ for (; priv->streams; priv->streams = g_list_delete_link(priv->streams, priv->streams)) purple_media_stream_free(priv->streams->data); + for (; priv->participants; priv->participants = g_list_delete_link( + priv->participants, priv->participants)) + g_free(priv->participants->data); + if (priv->sessions) { GList *sessions = g_hash_table_get_values(priv->sessions); for (; sessions; sessions = g_list_delete_link(sessions, sessions)) {