[empathy: 8/65] Unref the handler after the signal.
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 8/65] Unref the handler after the signal.
- Date: Tue, 24 Aug 2010 13:27:08 +0000 (UTC)
commit 6ce5a087dad56816cb895dbdb2b30ac3a0c1f9a4
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Jul 22 19:26:13 2010 +0200
Unref the handler after the signal.
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 | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-auth-factory.c b/libempathy/empathy-auth-factory.c
index 836be14..9d8e16e 100644
--- a/libempathy/empathy-auth-factory.c
+++ b/libempathy/empathy-auth-factory.c
@@ -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);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]