http://sourceforge.net/tracker/index.php?func=detail&aid=1849202&group_id=190214&atid=932444 --- src/mcd-connection.c.orig 2007-12-29 16:16:33.000000000 +0100 +++ src/mcd-connection.c 2007-12-29 16:18:41.000000000 +0100 @@ -662,6 +662,7 @@ pending_channel_free (McdPendingChannel *pc) { g_object_unref (pc->channel); + g_free (pc->type); g_free (pc); } @@ -2186,7 +2187,7 @@ pc = g_malloc (sizeof(McdPendingChannel)); pc->handle = chan_handle; pc->handle_type = chan_handle_type; - pc->type = chan_type; + pc->type = g_strdup(chan_type); pc->channel = channel; priv->pending_channels = g_list_prepend (priv->pending_channels, pc); @@ -2234,7 +2235,7 @@ pc = g_malloc (sizeof(McdPendingChannel)); pc->handle = req->channel_handle; pc->handle_type = req->channel_handle_type; - pc->type = req->channel_type; + pc->type = g_strdup(req->channel_type); pc->channel = channel; priv->pending_channels = g_list_prepend (priv->pending_channels, pc);