Unref process_deferred_messages_source when clearing it
authorMike Gorse <mgorse@suse.com>
Wed, 9 Oct 2013 21:22:17 +0000 (16:22 -0500)
committerMike Gorse <mgorse@suse.com>
Fri, 11 Oct 2013 09:35:05 +0000 (04:35 -0500)
commitc1317f81c0b1e6789464e8a450b40e4525ce932a
tree3e5ea77c5a86bceaa8e3a5f205d0e1901f6edd07
parent52c1e9f76c0ab728a3bb25c07694f771891f5988
Unref process_deferred_messages_source when clearing it

Since g_source_attach adds a ref to a source and we keep the source stored
in a global variable and, therefore, do not unref it after attaching it, we
thus need to unref it when it is being destroyed and we clear the global
variable.

https://bugzilla.gnome.org/show_bug.cgi?id=709625
atspi/atspi-misc.c