Call the source-specific free function when the hook is freed not when it
authorOwen Taylor <otaylor@redhat.com>
Thu, 7 Jan 1999 20:12:19 +0000 (20:12 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Thu, 7 Jan 1999 20:12:19 +0000 (20:12 +0000)
commitdc602866312bff134f4d827190f5c24934970e19
tree21bdfee929fe416ae9185a17fe05faf0ee15ffff
parent81f8d0bb10c945c459b2a8063bf70039be113771
Call the source-specific free function when the hook is freed not when it

Thu Jan  7 15:14:08 1999  Owen Taylor  <otaylor@redhat.com>

* gmain.c (g_source_free_func): Call the source-specific
free function when the hook is freed not when it
is destroyed; this fixes a bug where a timeout destroyed
from itself would access already freed data.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gmain.c
gmain.c