summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2014-07-21 15:44:16 +0200
committerLukasz Stanislawski <l.stanislaws@samsung.com>2014-07-21 15:44:16 +0200
commit6ba1627f8e30212257d6736bfc1db4b2306b44a1 (patch)
tree79f943d016041e4c51abb68728e7096d2fad5cb5 /legacy/elementary/src/lib/elm_interface_atspi_accessible.c
parent92f928dd4d1b0d1258e302fa3ea1e1c147616152 (diff)
atspi: fix mem leak in attributes free function
Diffstat (limited to '')
-rw-r--r--legacy/elementary/src/lib/elm_interface_atspi_accessible.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/legacy/elementary/src/lib/elm_interface_atspi_accessible.c b/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
index 4c25a20841..7c2eb23266 100644
--- a/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
+++ b/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
@@ -277,10 +277,11 @@ void elm_atspi_attributes_list_free(Eina_List *list)
277{ 277{
278 Elm_Atspi_Attribute *attr; 278 Elm_Atspi_Attribute *attr;
279 EINA_LIST_FREE(list, attr) 279 EINA_LIST_FREE(list, attr)
280 { 280 {
281 eina_stringshare_del(attr->key); 281 eina_stringshare_del(attr->key);
282 eina_stringshare_del(attr->value); 282 eina_stringshare_del(attr->value);
283 } 283 free(attr);
284 }
284} 285}
285 286
286#include "elm_interface_atspi_accessible.eo.c" 287#include "elm_interface_atspi_accessible.eo.c"