summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2015-03-26 11:51:37 +0100
committerLukasz Stanislawski <lukasz.stanislawski@gmail.com>2015-04-06 10:25:02 +0200
commit53afc0f2ca9a67108960f08283199ab5bd2b0a2d (patch)
treef0ebc92d8a48309804a4691a4aa345f428837f43 /legacy/elementary/src/lib/elm_interface_atspi_accessible.c
parent80a79d717e634477b636214c63cfc8ace3fa292f (diff)
atspi: fix mem leaks spotted in valgrind.
Diffstat (limited to '')
-rw-r--r--legacy/elementary/src/lib/elm_interface_atspi_accessible.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/legacy/elementary/src/lib/elm_interface_atspi_accessible.c b/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
index 339b9c329e..36e0cc042a 100644
--- a/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
+++ b/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
@@ -138,8 +138,9 @@ _elm_interface_atspi_accessible_index_in_parent_get(Eo *obj, void *pd EINA_UNUSE
138 if (ret == (int)eina_list_count(children)) 138 if (ret == (int)eina_list_count(children))
139 { 139 {
140 ERR("Object %s not present in its AT-SPI parents (%s) children list! This should never happen.", eo_class_name_get(eo_class_get(obj)), eo_class_name_get(eo_class_get(parent))); 140 ERR("Object %s not present in its AT-SPI parents (%s) children list! This should never happen.", eo_class_name_get(eo_class_get(obj)), eo_class_name_get(eo_class_get(parent)));
141 return -1; 141 ret = -1;
142 } 142 }
143 eina_list_free(children);
143 return ret; 144 return ret;
144} 145}
145 146