[glib] gsocketlistener: Don't double unref address
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gsocketlistener: Don't double unref address
- Date: Fri, 1 May 2015 15:09:35 +0000 (UTC)
commit 517ce45f8e21b2f7524fd429ee90ab1fbca9a30a
Author: Ting-Wei Lan <lantw src gnome org>
Date: Wed Apr 29 15:17:00 2015 +0800
gsocketlistener: Don't double unref address
https://bugzilla.gnome.org/show_bug.cgi?id=748614
gio/gsocketlistener.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gio/gsocketlistener.c b/gio/gsocketlistener.c
index 8b60ea3..4cf51d1 100644
--- a/gio/gsocketlistener.c
+++ b/gio/gsocketlistener.c
@@ -544,8 +544,6 @@ g_socket_listener_add_inet_port (GSocketListener *listener,
g_signal_emit (listener, signals[EVENT], 0,
G_SOCKET_LISTENER_LISTENED, socket4);
- g_object_unref (address);
-
if (source_object)
g_object_set_qdata_full (G_OBJECT (socket4), source_quark,
g_object_ref (source_object),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]