From a60894a1f1c1fba4d7244a9b2a52f322e3ed9e12 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 22 Nov 2013 10:06:27 +0100 Subject: connection: Do not unref the input source after creation It is done later in cmumble_connection_fini. --- src/connection.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/connection.c b/src/connection.c index 6e2cc98..0369ba1 100644 --- a/src/connection.c +++ b/src/connection.c @@ -48,7 +48,6 @@ connection_ready(GObject *source_object, GAsyncResult *res, gpointer user_data) con->source = g_pollable_input_stream_create_source(con->input, NULL); g_source_set_callback(con->source, (GSourceFunc) read_cb, cm, NULL); g_source_attach(con->source, NULL); - g_source_unref(con->source); cmumble_protocol_init(cm); } -- cgit