diff options
author | Mike Gorse <mgorse@suse.com> | 2014-07-19 15:50:28 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@suse.com> | 2014-07-19 15:50:28 -0500 |
commit | be5a14c9c8507c5b67868c89c5442cc9ba1160aa (patch) | |
tree | 8f55cbd7a9b4e7ec57ec76823f2b274ef399751c | |
parent | 95a025d4468d4841f67f443edb459fd8dec53036 (diff) | |
download | at-spi2-core-be5a14c9c8507c5b67868c89c5442cc9ba1160aa.tar.gz |
Unref an accessible's cache when destroying it
-rw-r--r-- | atspi/atspi-accessible.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/atspi/atspi-accessible.c b/atspi/atspi-accessible.c index 7dd9fcfc..23aad908 100644 --- a/atspi/atspi-accessible.c +++ b/atspi/atspi-accessible.c @@ -190,6 +190,8 @@ atspi_accessible_finalize (GObject *object) if (accessible->attributes) g_hash_table_unref (accessible->attributes); + _atspi_accessible_unref_cache (accessible); + #ifdef DEBUG_REF_COUNTS accessible_count--; g_hash_table_remove (_atspi_get_live_refs (), accessible); |