summaryrefslogtreecommitdiff
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
commitad89be779dd750484ccae597785e0d39bafcefe0 (patch)
tree7630e0a6b08054020ff9171a50390a13ce9f9d95
parentd50d855d5f559464f8469dd2ccf9dd514b84f93a (diff)
atspi: fix mem leak in attributes free function
-rw-r--r--src/lib/elm_interface_atspi_accessible.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/elm_interface_atspi_accessible.c b/src/lib/elm_interface_atspi_accessible.c
index 4c25a2084..7c2eb2326 100644
--- a/src/lib/elm_interface_atspi_accessible.c
+++ b/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"