pidgin.vv: 74d8e00c: Swallow transport refs on setting them i...

maiku at soc.pidgin.im maiku at soc.pidgin.im
Wed Mar 18 22:35:51 EDT 2009


-----------------------------------------------------------------
Revision: 74d8e00c6f3099fa13e7fd5bd6d732eebec4eabe
Ancestor: 635431deec201f787ff9f82db84382d254165792
Author: maiku at soc.pidgin.im
Date: 2009-03-18T23:10:54
Branch: im.pidgin.pidgin.vv
URL: http://d.pidgin.im/viewmtn/revision/info/74d8e00c6f3099fa13e7fd5bd6d732eebec4eabe

Modified files:
        libpurple/protocols/jabber/jingle/content.c

ChangeLog: 

Swallow transport refs on setting them in the content.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jingle/content.c	5c81b926e371d0eebe9b352e25c4e2e3942386f4
+++ libpurple/protocols/jabber/jingle/content.c	695e8d2c38a43b7c0a86e7c026eb7170ebc376f0
@@ -205,13 +205,11 @@ jingle_content_set_property (GObject *ob
 			if (content->priv->transport)
 				g_object_unref(content->priv->transport);
 			content->priv->transport = g_value_get_object(value);
-			g_object_ref(content->priv->transport);
 			break;
 		case PROP_PENDING_TRANSPORT:
 			if (content->priv->pending_transport)
 				g_object_unref(content->priv->pending_transport);
 			content->priv->pending_transport = g_value_get_object(value);
-			g_object_ref(content->priv->pending_transport);
 			break;
 		default:	
 			G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);


More information about the Commits mailing list