projects
/
platform
/
core
/
uifw
/
at-spi2-atk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release v2.3.92
[platform/core/uifw/at-spi2-atk.git]
/
atk-adaptor
/
accessible-leasing.c
diff --git
a/atk-adaptor/accessible-leasing.c
b/atk-adaptor/accessible-leasing.c
index
f4d0e2f
..
4370bff
100644
(file)
--- a/
atk-adaptor/accessible-leasing.c
+++ b/
atk-adaptor/accessible-leasing.c
@@
-72,7
+72,9
@@
spi_leasing_finalize (GObject * object)
{
SpiLeasing *leasing = SPI_LEASING (object);
{
SpiLeasing *leasing = SPI_LEASING (object);
- g_free (leasing->expiry_queue);
+ if (leasing->expiry_func_id)
+ g_source_remove (leasing->expiry_func_id);
+ g_queue_free (leasing->expiry_queue);
G_OBJECT_CLASS (spi_leasing_parent_class)->finalize (object);
}
G_OBJECT_CLASS (spi_leasing_parent_class)->finalize (object);
}