[gtk+] a11y: Fix leaking of state sets
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] a11y: Fix leaking of state sets
- Date: Wed, 6 Jul 2011 19:02:32 +0000 (UTC)
commit d5dad3422bb70cca6124497fc31e09d3b7b98287
Author: Benjamin Otte <otte redhat com>
Date: Wed Jul 6 20:48:35 2011 +0200
a11y: Fix leaking of state sets
gtk/a11y/gtkmenuitemaccessible.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/a11y/gtkmenuitemaccessible.c b/gtk/a11y/gtkmenuitemaccessible.c
index 5d83bd4..c440222 100644
--- a/gtk/a11y/gtkmenuitemaccessible.c
+++ b/gtk/a11y/gtkmenuitemaccessible.c
@@ -148,6 +148,7 @@ gtk_menu_item_accessible_ref_state_set (AtkObject *obj)
atk_state_set_remove_state (state_set, ATK_STATE_FOCUSED);
atk_state_set_remove_state (state_set, ATK_STATE_SHOWING);
}
+ g_object_unref (parent_state_set);
}
return state_set;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]