diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2007-11-02 12:47:29 +0000 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2007-11-02 12:47:29 +0000 |
commit | 972225c9c7bbd42c89395a019dfec111173cf548 (patch) | |
tree | f772c2f2ebadc18ed400f6439c3ecdd892e56d00 | |
parent | 01ac3bd7d7da0cea8832e12bb8670ffa93f5cb9c (diff) |
bytestream-manager: unref the bystream when it's closed. It's the responsibilty of the object using it to ref itsnapshot_after_merging_Clique_protocol_and_stream_tubes
-rw-r--r-- | src/salut-bytestream-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/salut-bytestream-manager.c b/src/salut-bytestream-manager.c index 2bbe989b..a6c26aa7 100644 --- a/src/salut-bytestream-manager.c +++ b/src/salut-bytestream-manager.c @@ -230,6 +230,7 @@ bytestream_state_changed (GibberBytestreamIface *bytestream, salut_xmpp_connection_manager_release_connection (mgr, connection); g_object_unref (connection); + g_object_unref (bytestream); } } @@ -887,7 +888,6 @@ si_request_reply_cb (SalutXmppConnectionManager *manager, { /* Initiation failed. */ gibber_bytestream_iface_close (bytestream, NULL); - g_object_unref (bytestream); bytestream = NULL; } |