summaryrefslogtreecommitdiff
path: root/tests/testsocket.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-05-17 18:15:26 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-05-17 18:15:26 +0000
commitf58d55300b90242087898aba147a4d94b8b57505 (patch)
tree03957e2678ef669f7af0c5c563c4ea5954875119 /tests/testsocket.c
parent2bf6824ffafe27fcf8bddba71d05e346e5126359 (diff)
downloadgdk-pixbuf-f58d55300b90242087898aba147a4d94b8b57505.tar.gz
Fix a missing unref in the local/passive case. (#82067, Michael Meeks)
Fri May 17 13:56:23 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkplug.c (gtk_plug_filter_func): Fix a missing unref in the local/passive case. (#82067, Michael Meeks) * gtk/gtkplug.c (_gtk_plug_remove_from_socket): Fix reference leak on the plug window. * tests/testsocket.c (add_child): Fix memory leak. * gtk/gtkdnd.c (gtk_drag_dest_site_destroy): Unref the proxy window.
Diffstat (limited to 'tests/testsocket.c')
-rw-r--r--tests/testsocket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testsocket.c b/tests/testsocket.c
index c3ad14e24..1b695defd 100644
--- a/tests/testsocket.c
+++ b/tests/testsocket.c
@@ -225,6 +225,7 @@ add_child (GtkWidget *window,
}
g_io_add_watch (channel, G_IO_IN | G_IO_HUP, child_read_watch, NULL);
+ g_io_channel_unref (channel);
}
void