From bb384650babcd83e9c66cb0c87eb8343bdf8113a Mon Sep 17 00:00:00 2001 From: Colin Leroy Date: Tue, 25 Oct 2005 16:12:35 +0000 Subject: [PATCH] 2005-10-25 [cleroy] 1.9.15cvs105 * src/common/socket.c Fix a leak - Thanks to Christopher Aillon (http://christopher.aillon.org/blog/dev/gnome/20051025-gsource.html) --- ChangeLog-gtk2.claws | 6 ++++++ PATCHSETS | 1 + configure.ac | 2 +- src/common/socket.c | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog-gtk2.claws b/ChangeLog-gtk2.claws index f46e13ec9..f31285721 100644 --- a/ChangeLog-gtk2.claws +++ b/ChangeLog-gtk2.claws @@ -1,3 +1,9 @@ +2005-10-25 [cleroy] 1.9.15cvs105 + + * src/common/socket.c + Fix a leak - Thanks to Christopher Aillon + (http://christopher.aillon.org/blog/dev/gnome/20051025-gsource.html) + 2005-10-25 [paul] 1.9.15cvs104 * src/wizard.c diff --git a/PATCHSETS b/PATCHSETS index a9b025ee6..9cc6e1e7d 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -941,3 +941,4 @@ ( cvs diff -u -r 1.207.2.78 -r 1.207.2.79 src/folderview.c; cvs diff -u -r 1.14.2.12 -r 1.14.2.13 src/grouplistdialog.c; cvs diff -u -r 1.179.2.82 -r 1.179.2.83 src/imap.c; cvs diff -u -r 1.5.2.11 -r 1.5.2.12 src/noticeview.c; ) > 1.9.15cvs102.patchset ( cvs diff -u -r 1.1.2.1 -r 1.1.2.2 manual/handling.xml; ) > 1.9.15cvs103.patchset ( cvs diff -u -r 1.1.2.22 -r 1.1.2.23 src/wizard.c; ) > 1.9.15cvs104.patchset +( cvs diff -u -r 1.13.2.16 -r 1.13.2.17 src/common/socket.c; ) > 1.9.15cvs105.patchset diff --git a/configure.ac b/configure.ac index d41d670db..36ba56278 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=9 MICRO_VERSION=15 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=104 +EXTRA_VERSION=105 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/common/socket.c b/src/common/socket.c index 6e7fe5966..f26ef27bf 100644 --- a/src/common/socket.c +++ b/src/common/socket.c @@ -424,6 +424,7 @@ guint sock_add_watch(SockInfo *sock, GIOCondition condition, SockFunc func, g_source_set_priority(source, G_PRIORITY_DEFAULT); g_source_set_can_recurse(source, FALSE); sock->g_source = g_source_attach(source, NULL); + g_source_unref (source); /* Refcount back down to 1 */ return sock->g_source; } #endif -- 2.25.1