]> git.0d.be Git - empathy.git/commitdiff
Unref the handler after the signal.
authorCosimo Cecchi <cosimoc@gnome.org>
Thu, 22 Jul 2010 17:26:13 +0000 (19:26 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Fri, 13 Aug 2010 14:22:22 +0000 (16:22 +0200)
It's useless at that point, as it only carries the TLS certificate;
also, if someone wants to keep it, they can always ref it.

libempathy/empathy-auth-factory.c

index 836be14d2f76f7bfddeac8e1e5c13b160c3a799b..9d8e16e21bf9ae1d4e5af86cc98de28a45c7072a 100644 (file)
@@ -68,6 +68,7 @@ server_tls_handler_ready_cb (GObject *source,
     {
       g_signal_emit (self, signals[NEW_SERVER_TLS_HANDLER], 0,
           handler);
+      g_object_unref (handler);
     }
 }