GIOScheduler: Fix access after free in "cancelled" handler
commita0b71839ee27eec27d8b9da24d25c153d6273f42
authorStef Walter <stefw@gnome.org>
Tue, 17 Jul 2012 16:34:16 +0000 (17 18:34 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 17 Jul 2012 17:47:26 +0000 (17 13:47 -0400)
tree4b896506e8732fe5d285e590f7a84a3b7099bd00
parente97a4c7e5ef205dea08928f64ee5ba7e222e3b9b
GIOScheduler: Fix access after free in "cancelled" handler

 * GCancellable can be "cancelled" more than once if
   g_cancellable_reset() is called.
 * Don't assume that because the "cancelled" signal fired
   it won't fire again.

https://bugzilla.gnome.org/show_bug.cgi?id=680111
gio/gioscheduler.c